diff options
author | Minijackson <minijackson@riseup.net> | 2021-07-27 22:51:38 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2021-07-27 22:51:38 +0200 |
commit | 4111e327cd39da22219de7b56847c5fd62874568 (patch) | |
tree | 309a525f7d52ee6bc4cbb0dc4caec73357b2d515 /dotfiles/vim-dev.lua | |
parent | db030493ffee453d8f828755f37ec4dd2592fed3 (diff) | |
download | nixos-config-reborn-4111e327cd39da22219de7b56847c5fd62874568.tar.gz nixos-config-reborn-4111e327cd39da22219de7b56847c5fd62874568.zip |
vim-dev: replace sumneko_lua -> nlua.nvim plugin
Diffstat (limited to 'dotfiles/vim-dev.lua')
-rw-r--r-- | dotfiles/vim-dev.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dotfiles/vim-dev.lua b/dotfiles/vim-dev.lua index ae74e91..126b615 100644 --- a/dotfiles/vim-dev.lua +++ b/dotfiles/vim-dev.lua | |||
@@ -57,3 +57,12 @@ require("rust-tools").setup { | |||
57 | on_attach = on_attach, | 57 | on_attach = on_attach, |
58 | } | 58 | } |
59 | } | 59 | } |
60 | |||
61 | require("nlua.lsp.nvim").setup(require('lspconfig'), { | ||
62 | cmd = { | ||
63 | string.format("%s/bin/lua-language-server", vim.g.sumneko_lua_base_path), | ||
64 | "-E", | ||
65 | string.format("%s/extras/main.lua", vim.g.sumneko_lua_base_path), | ||
66 | }, | ||
67 | on_attach = on_attach, | ||
68 | }) | ||