softer bracket highlighting
This commit is contained in:
10
.vimrc
10
.vimrc
@@ -41,6 +41,9 @@ let g:lightline = { 'colorscheme': 'solarized', }
|
|||||||
let &showbreak='+-> '
|
let &showbreak='+-> '
|
||||||
let &showbreak='⮑ '
|
let &showbreak='⮑ '
|
||||||
let g:markdown_fenced_languages = ['sh', 'bash=sh', 'shell=sh', 'php', 'sql']
|
let g:markdown_fenced_languages = ['sh', 'bash=sh', 'shell=sh', 'php', 'sql']
|
||||||
|
highlight MatchParen gui=bold guibg=NONE guifg=lightgrey cterm=bold ctermbg=NONE
|
||||||
|
|
||||||
|
set matchtime=0 "prevent cursor from jumping around when highlighting braces ?
|
||||||
|
|
||||||
set noshowmode "affiche le mode dans la ligne de statut
|
set noshowmode "affiche le mode dans la ligne de statut
|
||||||
set novisualbell "set vb t_vb=""
|
set novisualbell "set vb t_vb=""
|
||||||
@@ -112,6 +115,7 @@ autocmd BufRead *.css let g:ale_fix_on_save = 1
|
|||||||
autocmd BufRead *.js let g:ale_fix_on_save = 1
|
autocmd BufRead *.js let g:ale_fix_on_save = 1
|
||||||
autocmd BufRead *.php let g:ale_fix_on_save = 1
|
autocmd BufRead *.php let g:ale_fix_on_save = 1
|
||||||
autocmd BufRead *.yml,*.yaml let g:ale_fix_on_save = 1
|
autocmd BufRead *.yml,*.yaml let g:ale_fix_on_save = 1
|
||||||
|
autocmd BufRead *.sh let g:ale_fix_on_save = 1
|
||||||
"autocmd BufWritePost * NERDTreeFocus | execute 'normal R' | wincmd p
|
"autocmd BufWritePost * NERDTreeFocus | execute 'normal R' | wincmd p
|
||||||
autocmd BufWritePost * NERDTreeRefreshRoot
|
autocmd BufWritePost * NERDTreeRefreshRoot
|
||||||
|
|
||||||
@@ -158,13 +162,17 @@ let g:ale_php_phpcs_options = '--standard=/home/jeankri/.config/ruleset-psr12-cu
|
|||||||
"
|
"
|
||||||
" we need eslint for linting js and phpcs for linting php and tidy for html linting and prettier is used for every file format
|
" we need eslint for linting js and phpcs for linting php and tidy for html linting and prettier is used for every file format
|
||||||
" tidy could use as fixer but I don't trust it enough yet
|
" tidy could use as fixer but I don't trust it enough yet
|
||||||
let g:ale_javascript_prettier_options = '--single-quote'
|
"let g:ale_javascript_prettier_options = '--single-quote'
|
||||||
let g:ale_fixers = {
|
let g:ale_fixers = {
|
||||||
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
||||||
\ 'javascript': ['remove_trailing_lines', 'trim_whitespace', 'prettier'],
|
\ 'javascript': ['remove_trailing_lines', 'trim_whitespace', 'prettier'],
|
||||||
|
\ 'json': ['remove_trailing_lines', 'trim_whitespace', 'prettier'],
|
||||||
\ 'html': ['remove_trailing_lines', 'trim_whitespace','prettier'],
|
\ 'html': ['remove_trailing_lines', 'trim_whitespace','prettier'],
|
||||||
\ 'css': ['remove_trailing_lines', 'trim_whitespace','prettier'],
|
\ 'css': ['remove_trailing_lines', 'trim_whitespace','prettier'],
|
||||||
\ 'php': ['remove_trailing_lines', 'trim_whitespace', 'prettier'],
|
\ 'php': ['remove_trailing_lines', 'trim_whitespace', 'prettier'],
|
||||||
|
\ 'sql': ['remove_trailing_lines', 'trim_whitespace', 'prettier'],
|
||||||
|
\ 'shell': ['remove_trailing_lines', 'trim_whitespace', 'prettier'],
|
||||||
|
\ 'bash': ['remove_trailing_lines', 'trim_whitespace', 'prettier'],
|
||||||
\ 'yaml': ['remove_trailing_lines', 'trim_whitespace', 'prettier']
|
\ 'yaml': ['remove_trailing_lines', 'trim_whitespace', 'prettier']
|
||||||
\ }
|
\ }
|
||||||
"let g:ale_fixers = {
|
"let g:ale_fixers = {
|
||||||
|
|||||||
Reference in New Issue
Block a user