Update neovim config for better Go development

This commit is contained in:
2021-12-11 23:22:51 +03:00
parent 880273224d
commit 6deaa64e71
2 changed files with 46 additions and 2 deletions

View File

@@ -103,7 +103,8 @@ vim.g.mapleader = " "
vim.g.qs_highlight_on_keys = {"f", "F"}
vim.cmd([[autocmd BufWritePre * undojoin | Neoformat]])
vim.cmd(
[[autocmd BufWritePre *.js,*.jsx,*.ts,*.tsx,*.html,*.css,*.scss,*.json undojoin | Neoformat]])
require("lsp")