chore: remove dead config and test residue
- inlay_hints = { enable = true } on lua_ls and solidity_ls: nothing in
nvim's LSP core reads that key. vim.lsp.inlay_hint.enable() already
turns them on.
- commented-out wgsl_analyzer block
- <leader>rn in on_attach: mappings.lua already binds it globally to the
same vim.lsp.buf.rename
- mini.files enabled = false: NvChad does not ship it, so there was
nothing to disable. The nvim-tree stub stays; that one is real.
- biome.json and .tool-versions: no JS in this repo
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -30,23 +30,13 @@ M.defaults = function()
|
||||
on_attach = M.on_attach,
|
||||
on_init = nvlsp.on_init,
|
||||
capabilities = nvlsp.capabilities,
|
||||
inlay_hints = { enable = true },
|
||||
})
|
||||
vim.lsp.enable "lua_ls"
|
||||
|
||||
-- vim.lsp.config("wgsl_analyzer", {
|
||||
-- on_attach = M.on_attach,
|
||||
-- on_init = nvlsp.on_init,
|
||||
-- capabilities = nvlsp.capabilities,
|
||||
-- inlay_hints = { enable = true },
|
||||
-- })
|
||||
-- vim.lsp.enable "wgsl_analyzer"
|
||||
|
||||
vim.lsp.config("solidity_ls_nomicfoundation", {
|
||||
on_attach = M.on_attach,
|
||||
on_init = nvlsp.on_init,
|
||||
capabilities = nvlsp.capabilities,
|
||||
inlay_hints = { enable = true },
|
||||
})
|
||||
vim.lsp.enable "solidity_ls_nomicfoundation"
|
||||
|
||||
@@ -81,8 +71,6 @@ M.on_attach = function(client, bufnr)
|
||||
return { buffer = bufnr, desc = "LSP " .. desc }
|
||||
end
|
||||
|
||||
map("n", "<leader>rn", vim.lsp.buf.rename, opts "Rename")
|
||||
|
||||
map("n", "gd", function()
|
||||
require("fzf-lua").lsp_definitions()
|
||||
end, opts "LSP Definitions")
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
return {
|
||||
-- shipped by NvChad; disabled in favour of yazi (see plugins/yazi.lua)
|
||||
{
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
enabled = false,
|
||||
},
|
||||
{
|
||||
"echasnovski/mini.files",
|
||||
enabled = false,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user