Add TS filename refactoring. Add new file search alternative
This commit is contained in:
parent
4db1e0261b
commit
3e4e1785c3
6 changed files with 42 additions and 1 deletions
|
|
@ -64,6 +64,24 @@ local plugins = {
|
|||
end,
|
||||
},
|
||||
|
||||
-- JSDoc
|
||||
{
|
||||
"danymat/neogen",
|
||||
dependencies = "nvim-treesitter/nvim-treesitter",
|
||||
config = true,
|
||||
-- Uncomment next line if you want to follow only stable versions
|
||||
version = "*",
|
||||
opts = {
|
||||
languages = {
|
||||
typescript = {
|
||||
template = {
|
||||
annotation_convention = "jsdoc",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
--[[
|
||||
{
|
||||
-- Theme inspired by Atom
|
||||
|
|
@ -147,6 +165,8 @@ local plugins = {
|
|||
require 'core.plugins.nvim-ufo',
|
||||
|
||||
require 'kickstart.plugins.autoformat',
|
||||
|
||||
require 'core.plugins.lsp-file-operations',
|
||||
}
|
||||
|
||||
local pluginOptions = {}
|
||||
|
|
|
|||
12
lua/core/plugins/lsp-file-operations.lua
Normal file
12
lua/core/plugins/lsp-file-operations.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
return {
|
||||
{
|
||||
"antosha417/nvim-lsp-file-operations",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
},
|
||||
config = function()
|
||||
require("lsp-file-operations").setup()
|
||||
end,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue