Hacker News new | past | comments | ask | show | jobs | submit login

require('lspconfig')['tsserver'].setup{ on_attach = on_attach, ... }

local on_attach = function(client, bufnr) vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, bufopts) end




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: