Compare commits
No commits in common. "f40feebca6e162d6648d348e3c465122d5171ebe" and "4d38340984fd65a5c88e811f6bd5475c3f99f3c3" have entirely different histories.
f40feebca6
...
4d38340984
@ -613,11 +613,9 @@ autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙'
|
||||
au BufRead,BufNewFile *.yaml,*.yml if search('hosts:\|tasks:', 'nw') | set ft=yaml.ansible | endif
|
||||
" autocmd BufWritePre * silent! undojoin | Neoformat prettier
|
||||
|
||||
" GoLang
|
||||
" Go
|
||||
autocmd BufRead *.go set noexpandtab
|
||||
autocmd BufWritePre *.go lua go_org_imports()
|
||||
let g:go_def_mapping_enabled = 0
|
||||
let g:go#fmt#autosave = v:true
|
||||
|
||||
" Conf
|
||||
au BufNewFile,BufRead *.conf setfiletype conf
|
||||
@ -632,6 +630,9 @@ au BufNewFile,BufRead,BufWritePre *.ebuild let g:shfmt_extra_args = '-ci -sr -s'
|
||||
autocmd BufWritePre *.tf lua vim.lsp.buf.formatting_sync()
|
||||
autocmd BufWritePre *.tfvars lua vim.lsp.buf.formatting_sync()
|
||||
|
||||
" GoLang
|
||||
let g:go#fmt#autosave = v:true
|
||||
|
||||
" Automatically deletes all trailing whitespace and newlines at end of file on save.
|
||||
autocmd BufWritePre * %s/\s\+$//e
|
||||
autocmd BufWritepre * %s/\n\+\%$//e
|
||||
|
Loading…
Reference in New Issue
Block a user