1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Ryan Kes
326198038d set fixers for golang 2020-08-26 18:46:41 +02:00
Ryan Kes
b73a901b03 added golang bin to path 2020-08-25 17:21:18 +02:00
2 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ path_if_exists ~/.local/bin
path_if_exists ~/.emacs.d/bin
path_if_exists ~/.local/share/go/bin
path_if_exists ~/.local/share/cargo/bin
path_if_exists ~/.local/share/go/bin
# Set GPG TTY
set GPG_TTY (tty)

View File

@ -190,7 +190,7 @@
let g:ale_sign_warning = '⚠️'
" Fix files
let g:ale_fixers = {'javascript': ['prettier', 'eslint'], 'sh': ['shfmt'], 'json': ['prettier']}
let g:ale_fixers = {'*': ['remove_trailing_lines', 'trim_whitespace'], 'javascript': ['prettier', 'eslint'], 'sh': ['shfmt'], 'json': ['prettier'], 'go': ['gofmt', 'goimports']}
" Fix files automatically on save
let g:ale_fix_on_save = 1