소스 검색

softer bracket highlighting

master
부모
커밋
7297999bfa
1개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 9
    1
      .vimrc

+ 9
- 1
.vimrc 파일 보기

@@ -41,6 +41,9 @@ let g:lightline = { 'colorscheme': 'solarized', }
let &showbreak='+-> '
let &showbreak='⮑ '
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 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 *.php 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 * 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
" 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 = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'javascript': ['remove_trailing_lines', 'trim_whitespace', 'prettier'],
\ 'json': ['remove_trailing_lines', 'trim_whitespace', 'prettier'],
\ 'html': ['remove_trailing_lines', 'trim_whitespace','prettier'],
\ 'css': ['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']
\ }
"let g:ale_fixers = {

Loading…
취소
저장