Improve support for JavaScript and relatives

This commit is contained in:
Danielle McLean 2024-12-17 16:08:36 +11:00
parent c796b3732d
commit 1a5fbe9707
Signed by: 00dani
GPG key ID: 6854781A0488421C
2 changed files with 14 additions and 0 deletions

View file

@ -107,6 +107,8 @@ g:GPGDefaultRecipients = [
'Danielle McLean <dani@00dani.me>',
]
g:javascript_plugin_jsdoc = 1
g:markdown_folding = 1
g:markdown_fenced_languages = [
'bash', 'c', 'dockerfile',
@ -121,6 +123,11 @@ g:markdown_fenced_languages = [
set updatetime=100
g:signify_number_highlight = 1
g:ale_linters = {
javascript: ['eslint'],
javascriptreact: ['eslint'],
typescript: ['eslint'],
}
g:ale_fixers = {
python: ['ruff', 'ruff_format'],
}

View file

@ -157,6 +157,13 @@ minpac#add('lambdalisue/fern-ssh')
# vim-endwise for XML. Very nice to have when working on HTML documents.
minpac#add('alvan/vim-closetag')
# Lots of extra syntax support for JavaScript along with its relatives
# (TypeScript, CoffeeScript) since Vim's built-in support is a bit dated.
minpac#add('kchmck/vim-coffee-script')
minpac#add('pangloss/vim-javascript')
minpac#add('MaxMEllon/vim-jsx-pretty')
minpac#add('HerringtonDarkholme/yats.vim')
# Syntax and indent support for Jinja2 templates.
minpac#add('lepture/vim-jinja')