Improve support for JavaScript and relatives
This commit is contained in:
parent
c796b3732d
commit
1a5fbe9707
2 changed files with 14 additions and 0 deletions
|
@ -107,6 +107,8 @@ g:GPGDefaultRecipients = [
|
||||||
'Danielle McLean <dani@00dani.me>',
|
'Danielle McLean <dani@00dani.me>',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
g:javascript_plugin_jsdoc = 1
|
||||||
|
|
||||||
g:markdown_folding = 1
|
g:markdown_folding = 1
|
||||||
g:markdown_fenced_languages = [
|
g:markdown_fenced_languages = [
|
||||||
'bash', 'c', 'dockerfile',
|
'bash', 'c', 'dockerfile',
|
||||||
|
@ -121,6 +123,11 @@ g:markdown_fenced_languages = [
|
||||||
set updatetime=100
|
set updatetime=100
|
||||||
g:signify_number_highlight = 1
|
g:signify_number_highlight = 1
|
||||||
|
|
||||||
|
g:ale_linters = {
|
||||||
|
javascript: ['eslint'],
|
||||||
|
javascriptreact: ['eslint'],
|
||||||
|
typescript: ['eslint'],
|
||||||
|
}
|
||||||
g:ale_fixers = {
|
g:ale_fixers = {
|
||||||
python: ['ruff', 'ruff_format'],
|
python: ['ruff', 'ruff_format'],
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,6 +157,13 @@ minpac#add('lambdalisue/fern-ssh')
|
||||||
# vim-endwise for XML. Very nice to have when working on HTML documents.
|
# vim-endwise for XML. Very nice to have when working on HTML documents.
|
||||||
minpac#add('alvan/vim-closetag')
|
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.
|
# Syntax and indent support for Jinja2 templates.
|
||||||
minpac#add('lepture/vim-jinja')
|
minpac#add('lepture/vim-jinja')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue