diff options
author | terminaldweller <thabogre@gmail.com> | 2022-04-07 19:42:08 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-04-07 19:42:08 +0000 |
commit | ed18068d8364bb5886dc88438e980bbc3f18811d (patch) | |
tree | d76b2bac725cbe5c8781fdbf58c972bce39399a6 | |
parent | a slightly less crappy config (diff) | |
download | scripts-ed18068d8364bb5886dc88438e980bbc3f18811d.tar.gz scripts-ed18068d8364bb5886dc88438e980bbc3f18811d.zip |
truecolor, fixed ctrlp being annoying, some sh goodies
-rw-r--r-- | .vimrc | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -252,6 +252,13 @@ filetype plugin indent on " let g:vim_markdown_math = 1 " let g:vim_markdown_strikethrough = 1 +" enable 24-bit color +if exists('+termguicolors') + " set Vim-specific sequences for RGB colors + let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" + let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" + " set termguicolors +endif "jellybeans silent! colo jellybeans set background=dark @@ -1057,7 +1064,7 @@ let g:ctrlp_show_hidden = 1 let g:ctrlp_root_markers = ['.root'] if executable('rg') set grepprg=rg\ --color=never - let g:ctrlp_user_command = 'rg %s --files --color=never --glob ""' + let g:ctrlp_user_command = 'rg %s --files --hidden --color=never --glob "!node_modules"' let g:ctrlp_use_caching = 0 endif @@ -1452,9 +1459,11 @@ augroup ALELUA autocmd FileType lua let b:ale_linters = {'lua': ['luacheck']} autocmd FileType lua let b:ale_fixers = {'lua': ['lua-format']} augroup END -let g:ale_sh_shfmt_options = "-l -w" +let b:ale_sh_shfmt_options = "-l -w" +let b:ale_sh_shellcheck_options = '-x' augroup ALESH autocmd! + autocmd FileType sh let b:ale_linters = {'sh': ['shellcheck']} autocmd FileType sh let b:ale_fixers = {'sh': ['shfmt']} augroup END |