aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/init.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/init.vim')
-rw-r--r--.config/nvim/init.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 6c80dff..8f48306 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -222,6 +222,10 @@ let g:ale_pattern_options = {
\ '\.cs$': {'ale_linters': [], 'ale_fixers': ['uncrustify']},
\ '\.java$': {'ale_linters': [], 'ale_fixers': ['uncrustify']},
\ '\.d$': {'ale_linters': [], 'ale_fixers': ['uncrustify']},
+\ '\.js$': {'ale_linters': ['eslint'], 'ale_fixers': ['prettier']},
+\ '\.css$': {'ale_linters': [], 'ale_fixers': ['prettier']},
+\ '\.html$': {'ale_linters': [], 'ale_fixers': ['prettier']},
+\ '\.json$': {'ale_linters': [], 'ale_fixers': ['prettier']},
\}
let g:ale_pattern_options_enabled = 1
autocmd FileType cs let g:ale_c_uncrustify_options = '-l CS'