summaryrefslogtreecommitdiff
path: root/.config/nvim/ftplugin/vim.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/ftplugin/vim.lua')
-rw-r--r--.config/nvim/ftplugin/vim.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/ftplugin/vim.lua b/.config/nvim/ftplugin/vim.lua
new file mode 100644
index 0000000..9dbbe3a
--- /dev/null
+++ b/.config/nvim/ftplugin/vim.lua
@@ -0,0 +1,5 @@
+-- npm install -g vim-language-server
+require("lspconfig").vimls.setup {
+ cmd = { DATA_PATH .. "/lspinstall/vim/node_modules/.bin/vim-language-server", "--stdio" },
+ on_attach = require("cfg.lsp").common_on_attach,
+}