mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Compare commits
2 Commits
326198038d
...
2de46cb2ea
Author | SHA1 | Date | |
---|---|---|---|
|
2de46cb2ea | ||
|
9bb04c593a |
@ -190,7 +190,7 @@
|
|||||||
let g:ale_sign_warning = '⚠️'
|
let g:ale_sign_warning = '⚠️'
|
||||||
|
|
||||||
" Fix files
|
" Fix files
|
||||||
let g:ale_fixers = {'*': ['remove_trailing_lines', 'trim_whitespace'], 'javascript': ['prettier', 'eslint'], 'sh': ['shfmt'], 'json': ['prettier'], 'go': ['gofmt', 'goimports']}
|
let g:ale_fixers = {'*': ['remove_trailing_lines', 'trim_whitespace'], 'vue': ['importjs', 'prettier', 'eslint'], 'javascript': ['importjs', 'prettier', 'eslint'], 'sh': ['shfmt'], 'json': ['prettier'], 'go': ['gofmt', 'goimports'], 'markdown': ['prettier', 'remark-lint', 'textlint'], 'rust': ['rustfmt']}
|
||||||
|
|
||||||
" Fix files automatically on save
|
" Fix files automatically on save
|
||||||
let g:ale_fix_on_save = 1
|
let g:ale_fix_on_save = 1
|
||||||
@ -228,4 +228,8 @@
|
|||||||
nnoremap <silent> <Leader>h: :History:<CR>
|
nnoremap <silent> <Leader>h: :History:<CR>
|
||||||
nnoremap <silent> <Leader>h/ :History/<CR>
|
nnoremap <silent> <Leader>h/ :History/<CR>
|
||||||
" }
|
" }
|
||||||
|
|
||||||
|
" closetag {
|
||||||
|
let g:closetag_filetypes = 'html,xhtml,phtml,vue'
|
||||||
|
" }
|
||||||
" }
|
" }
|
||||||
|
Loading…
Reference in New Issue
Block a user