diff options
author | Minijackson <minijackson@riseup.net> | 2023-01-30 21:40:05 +0100 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2023-01-30 22:06:41 +0100 |
commit | 3aa7893829224a70566728f6056ec97ae12ae03a (patch) | |
tree | 850c50adf8bfbf8ee47cfebef5a906122eda5044 /dotfiles/vim/lua/vim-dev.lua | |
parent | 7357b53d8a49604e95d5c9b4b970936029754c6a (diff) | |
download | nixos-config-reborn-3aa7893829224a70566728f6056ec97ae12ae03a.tar.gz nixos-config-reborn-3aa7893829224a70566728f6056ec97ae12ae03a.zip |
development: setup clangd_extensions nvim plugin
Diffstat (limited to 'dotfiles/vim/lua/vim-dev.lua')
-rw-r--r-- | dotfiles/vim/lua/vim-dev.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dotfiles/vim/lua/vim-dev.lua b/dotfiles/vim/lua/vim-dev.lua index a852447..d3b93c5 100644 --- a/dotfiles/vim/lua/vim-dev.lua +++ b/dotfiles/vim/lua/vim-dev.lua | |||
@@ -61,6 +61,13 @@ require("rust-tools").setup { | |||
61 | }, | 61 | }, |
62 | } | 62 | } |
63 | 63 | ||
64 | -- TODO: setup nvim-cmp completion score | ||
65 | require("clangd_extensions").setup { | ||
66 | server = { | ||
67 | cmd = { vim.g.clangd_path }, | ||
68 | } | ||
69 | } | ||
70 | |||
64 | require("nlua.lsp.nvim").setup(lspconfig, { | 71 | require("nlua.lsp.nvim").setup(lspconfig, { |
65 | cmd = { | 72 | cmd = { |
66 | string.format("%s/bin/lua-language-server", vim.g.sumneko_lua_base_path), | 73 | string.format("%s/bin/lua-language-server", vim.g.sumneko_lua_base_path), |