It's worth learning again what neovim offers with LSP and it's ecosystem.
https://github.com/folke/trouble.nvim
You'd appreciate nothing out of Typescript if your editor doesn't do LSP.
AstroNvim gives you a good start.
https://github.com/folke/trouble.nvim
You'd appreciate nothing out of Typescript if your editor doesn't do LSP.
AstroNvim gives you a good start.
vim.keymap.set("n", "K", vim.lsp.buf.hover, { buffer = buf })
vim.keymap.set("n", "<leader>qf", vim.diagnostic.setqflist, { buffer = buf, desc = "Quickfix diagnostics" }) -- open Quickfix with LSP issues, Loclist possible too
vim.api.nvim_buf_set_option(buf, "omnifunc", "v:lua.vim.lsp.omnifunc") -- use LSP completion for omnifunc
vim.api.nvim_buf_set_option(buf, "tagfunc", "v:lua.vim.lsp.tagfunc") -- Ctrl+] for go to definition using LSP instead of ctags
vim.api.nvim_buf_set_option(buf, "formatexpr", "v:lua.vim.lsp.formatexpr()") -- Code formatting (gq etc) using LSP
Everything else one always sees with Neovim and LSP are other plugins like nvim-cmp or Telescope.