mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 11:24:55 +02:00
update nvim config
This commit is contained in:
parent
9523ecf1e3
commit
feea9886f5
10 changed files with 113 additions and 56 deletions
|
|
@ -30,7 +30,17 @@ return {
|
|||
lspconfig.gopls.setup({})
|
||||
-- Tailwind CSS
|
||||
--require('lspconfig').tailwindcss.setup({ capabilities = capabilities })
|
||||
|
||||
-- Format on save.
|
||||
vim.api.nvim_create_autocmd("BufWritePre", {
|
||||
pattern = '*.go',
|
||||
callback = function()
|
||||
vim.lsp.buf.format { async = false }
|
||||
end
|
||||
})
|
||||
|
||||
-- Typescript
|
||||
lspconfig.tsserver.setup({})
|
||||
|
||||
-- Config
|
||||
-- Sign configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue