For now I got to setting up LSP configs and servers for a few languages but didn't get into using it yet besides getting extra syntax highlighting.
vim.keymap.set('n', 'gr', function() local clients = vim.lsp.get_clients({ bufnr = 0 }) for _, client in ipairs(clients) do if client.server_capabilities.renameProvider then vim.lsp.buf.rename() return end end end)
local on_attach = function(client, bufnr) vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, bufopts) end
For now I got to setting up LSP configs and servers for a few languages but didn't get into using it yet besides getting extra syntax highlighting.