feat(plugins): Add lwpconfig
This commit is contained in:
parent
c9c15d8ae1
commit
e6c9d72c3f
3 changed files with 7 additions and 3 deletions
|
@ -46,7 +46,7 @@ with final.pkgs.lib; let
|
|||
cmp-cmdline-history # cmp command line history suggestions
|
||||
# copilot-lua # Github Copilot https://github.com/zbirenbaum/copilot.lua/
|
||||
# copilot-cmp # Add Copilot as a cmp source # https://github.com/zbirenbaum/copilot-cmp/
|
||||
# nvim-lspconfig
|
||||
nvim-lspconfig
|
||||
# ^ nvim-cmp extensions
|
||||
|
||||
# git integration plugins
|
||||
|
|
|
@ -3,7 +3,9 @@ if vim.fn.executable('clangd') ~= 1 then
|
|||
return
|
||||
end
|
||||
|
||||
local root_files = {
|
||||
require'lspconfig'.clangd.setup{}
|
||||
|
||||
--[[ local root_files = {
|
||||
'compile_commands.json',
|
||||
'.vscode',
|
||||
'.git',
|
||||
|
@ -14,7 +16,7 @@ vim.lsp.start {
|
|||
cmd = { 'clangd' },
|
||||
root_dir = vim.fs.dirname(vim.fs.find(root_files, { upward = true })[1]),
|
||||
capabilities = require('user.lsp').make_client_capabilities(),
|
||||
}
|
||||
} ]]
|
||||
|
||||
local dap = require("dap")
|
||||
|
||||
|
|
|
@ -7,6 +7,8 @@ if vim.fn.executable(lua_ls_cmd) ~= 1 then
|
|||
return
|
||||
end
|
||||
|
||||
-- require'lspconfig'.lua_ls.setup{}
|
||||
|
||||
local root_files = {
|
||||
'.luarc.json',
|
||||
'.luarc.jsonc',
|
||||
|
|
Loading…
Reference in a new issue