adj
This commit is contained in:
parent
e7b4be7296
commit
18603b93e0
8 changed files with 29 additions and 2 deletions
|
|
@ -2,6 +2,8 @@
|
|||
local requires = {
|
||||
'rust_analyzer',
|
||||
'lua_ls',
|
||||
'clangd',
|
||||
'dartls',
|
||||
}
|
||||
local lsps = {}
|
||||
|
||||
|
|
|
|||
1
lua/lsp/clangd.lua
Normal file
1
lua/lsp/clangd.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
1
lua/lsp/dartls.lua
Normal file
1
lua/lsp/dartls.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
|
|
@ -1 +1,9 @@
|
|||
return {}
|
||||
return {
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
diagnostics = {
|
||||
disabled = { "inactive-code" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
11
lua/plugins/bevy.lua
Normal file
11
lua/plugins/bevy.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
return {
|
||||
"lommix/bevy_inspector.nvim",
|
||||
dependencies = {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
config = function()
|
||||
require 'bevy_inspector'.setup({})
|
||||
end,
|
||||
cmd = { "BevyInspect", "BevyInspectNamed", "BevyInspectQuery" },
|
||||
}
|
||||
|
|
@ -8,6 +8,7 @@ return {
|
|||
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||
local lsps = require 'config.lsp'
|
||||
for lsp, config in pairs(lsps) do
|
||||
config.capabilities = capabilities
|
||||
vim.lsp.enable(lsp)
|
||||
vim.lsp.config(lsp, config)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue