diff options
-rw-r--r-- | dotfiles/vim-dev.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dotfiles/vim-dev.lua b/dotfiles/vim-dev.lua index c17f3f6..57d386e 100644 --- a/dotfiles/vim-dev.lua +++ b/dotfiles/vim-dev.lua | |||
@@ -1,6 +1,6 @@ | |||
1 | local lspconfig = require("lspconfig") | 1 | local lspconfig = require("lspconfig") |
2 | 2 | ||
3 | function on_attach(client, bufnr) | 3 | local function on_attach(client, bufnr) |
4 | local function buf_set_keymap(...) | 4 | local function buf_set_keymap(...) |
5 | vim.api.nvim_buf_set_keymap(bufnr, ...) | 5 | vim.api.nvim_buf_set_keymap(bufnr, ...) |
6 | end | 6 | end |
@@ -71,11 +71,11 @@ require("rust-tools").setup { | |||
71 | } | 71 | } |
72 | } | 72 | } |
73 | 73 | ||
74 | require("nlua.lsp.nvim").setup(require('lspconfig'), { | 74 | require("nlua.lsp.nvim").setup(lspconfig, { |
75 | cmd = { | 75 | cmd = { |
76 | string.format("%s/bin/lua-language-server", vim.g.sumneko_lua_base_path), | 76 | string.format("%s/bin/lua-language-server", vim.g.sumneko_lua_base_path), |
77 | "-E", | 77 | "-E", |
78 | string.format("%s/extras/main.lua", vim.g.sumneko_lua_base_path), | 78 | string.format("%s/share/lua-language-server/main.lua", vim.g.sumneko_lua_base_path), |
79 | }, | 79 | }, |
80 | on_attach = on_attach, | 80 | on_attach = on_attach, |
81 | }) | 81 | }) |