adj
This commit is contained in:
parent
e7b4be7296
commit
18603b93e0
8 changed files with 29 additions and 2 deletions
2
ftplugin/dart.vim
Normal file
2
ftplugin/dart.vim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
setlocal tabstop=2
|
||||
setlocal shiftwidth=2
|
||||
|
|
@ -1,12 +1,13 @@
|
|||
{
|
||||
"ansi-nvim": { "branch": "main", "commit": "8d0078f63d161de882bca21a505f84ee442fa194" },
|
||||
"bevy_inspector.nvim": { "branch": "master", "commit": "debdf31e5f4b862447ecbf4a9ebfc61b5a9d0772" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||
"lazydev.nvim": { "branch": "main", "commit": "5231c62aa83c2f8dc8e7ba957aa77098cda1257d" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "da88697d7f45d16852c6b2769dc52387d1ddc45f" },
|
||||
"nvim-gdb": { "branch": "master", "commit": "b644f07c54608cc913c1d9e14954f15dcb7331a9" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "44acfe887d4056f704ccc4f17513ed41c9e2b2e6" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "ab5139c99df944479e5a26495a37840fcbb1d512" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "5255aa27c422de944791318024167ad5d40aad20" },
|
||||
|
|
|
|||
|
|
@ -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