Autoformat go and rust on save
This commit is contained in:
parent
1c1c76b726
commit
a6f6372b0f
@ -1,3 +1,5 @@
|
||||
autocmd BufWritePre *.go,*.rs lua vim.lsp.buf.formatting()
|
||||
|
||||
lua << EOF
|
||||
local nvim_lsp = require('lspconfig')
|
||||
local opts = { noremap=true, silent=true }
|
||||
|
Loading…
x
Reference in New Issue
Block a user