Neovim configuration for ctags-lsp
Get the language server:
brew install netmute/tap/ctags-lsp
Setup in neovim:
-- lazy.nvim
{
"neovim/nvim-lspconfig",
dependencies = "netmute/ctags-lsp.nvim",
config = function()
require("lspconfig").ctags_lsp.setup({})
end,
}
It attaches to all filetypes by default.
Need it for specific filetypes only? It’s configurable:
lspconfig.ctags_lsp.setup({
filetypes = { "ruby", "go" },
})