aboutsummaryrefslogtreecommitdiff
path: root/vimrc-full
diff options
context:
space:
mode:
authorMax Christian Pohle2017-09-17 12:41:30 +0200
committerMax Christian Pohle2017-09-17 12:41:30 +0200
commit82ba52166c5c80340c3b4ce09a8381adf2a1049b (patch)
tree09cce173320efa602e59d8b6faf3b86f22b5f757 /vimrc-full
parent91be005a62396fa922c6264c011ad93ef95b9e2d (diff)
downloadvim-82ba52166c5c80340c3b4ce09a8381adf2a1049b.tar.bz2
vim-82ba52166c5c80340c3b4ce09a8381adf2a1049b.zip
Improved tabstop symbol and appearance
Diffstat (limited to 'vimrc-full')
-rw-r--r--vimrc-full13
1 files changed, 8 insertions, 5 deletions
diff --git a/vimrc-full b/vimrc-full
index 1b41fe5..a93d841 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -51,7 +51,7 @@ if has("multi_byte")
51 set listchars+=extends:» | " symbols used when using :set list (which displays non-printable chars) 51 set listchars+=extends:» | " symbols used when using :set list (which displays non-printable chars)
52 set listchars+=precedes:« | " symbols used when using :set list (which displays non-printable chars) 52 set listchars+=precedes:« | " symbols used when using :set list (which displays non-printable chars)
53 53
54 set listchars+=tab:\ | " symbols used when using :set list (which displays non-printable chars) 54 set listchars+=tab:\ | "
55 set listchars+=trail:· | " symbols used when using :set list (which displays non-printable chars) 55 set listchars+=trail:· | " symbols used when using :set list (which displays non-printable chars)
56 " set listchars+=eol:↲ | " symbols used when using :set list (which displays non-printable chars) 56 " set listchars+=eol:↲ | " symbols used when using :set list (which displays non-printable chars)
57 " set listchars+=space:· | " symbols used when using :set list (which displays non-printable chars) 57 " set listchars+=space:· | " symbols used when using :set list (which displays non-printable chars)
@@ -629,12 +629,13 @@ endfunction
629autocmd! ColorScheme * call ExtendLightlineColorTheme() 629autocmd! ColorScheme * call ExtendLightlineColorTheme()
630 630
631" Autocompleter: ===================================== 631" Autocompleter: =====================================
632if has("python") 632" if has("python")
633 " YouCompleteMe: ===================================================================================================== 633 " YouCompleteMe: =====================================================================================================
634 " Plug 'Valloric/MatchTagAlways' " highlights the closing tag/brace/... 634 " Plug 'Valloric/MatchTagAlways' " highlights the closing tag/brace/...
635 Plug 'Valloric/YouCompleteMe' 635 Plug 'Valloric/YouCompleteMe'
636 " Plug 'vim-scripts/dbext.vim' " dependency to allow db related completions 636 " Plug 'vim-scripts/dbext.vim' " dependency to allow db related completions
637 let g:ycm_server_python_interpreter = "python3" 637 let g:ycm_server_python_interpreter = 'python3'
638 let g:ycm_python_binary_path = '/usr/bin/python3' " the python interpreter of choice (for code checking)
638 let g:ycm_add_preview_to_completeopt = 1 " reuse existing preview window 639 let g:ycm_add_preview_to_completeopt = 1 " reuse existing preview window
639 let g:ycm_autoclose_preview_window_after_insertion = 1 640 let g:ycm_autoclose_preview_window_after_insertion = 1
640 let g:ycm_collect_identifiers_from_tags_files = 0 " Let YCM read tags from Ctags file 641 let g:ycm_collect_identifiers_from_tags_files = 0 " Let YCM read tags from Ctags file
@@ -650,7 +651,6 @@ if has("python")
650 let g:ycm_key_list_previous_completion = ['<Up>'] 651 let g:ycm_key_list_previous_completion = ['<Up>']
651 let g:ycm_global_ycm_extra_conf = '.ycm_extra_conf.py' 652 let g:ycm_global_ycm_extra_conf = '.ycm_extra_conf.py'
652 let g:ycm_semantic_triggers = { 'c': [ 're!.' ] } 653 let g:ycm_semantic_triggers = { 'c': [ 're!.' ] }
653 let g:ycm_python_binary_path = 'python' " the python interpreter of choice (for code checking)
654 " let g:ycm_disable_for_files_larger_than_kb = 16384 " we have faaast computers, don't we? 654 " let g:ycm_disable_for_files_larger_than_kb = 16384 " we have faaast computers, don't we?
655 655
656 " disable <tab>-key for YCM so that it can be used with ultisnips 656 " disable <tab>-key for YCM so that it can be used with ultisnips
@@ -700,7 +700,7 @@ if has("python")
700 " autocmd FileType python jedi.preload_module('os', 'sys', 'math') 700 " autocmd FileType python jedi.preload_module('os', 'sys', 'math')
701 " let g:pymode_options_max_line_length = 120 701 " let g:pymode_options_max_line_length = 120
702 " let g:syntastic_python_flake8_args='--ignore=F821,E302,E501,E241,E301' 702 " let g:syntastic_python_flake8_args='--ignore=F821,E302,E501,E241,E301'
703endif 703" endif
704 704
705"======================================================================================================================= 705"=======================================================================================================================
706" TESTING: | " plugins which I am currently trying... 706" TESTING: | " plugins which I am currently trying...
@@ -778,6 +778,9 @@ function! ExtendColorTheme()
778 highlight! Italic cterm=italic gui=italic 778 highlight! Italic cterm=italic gui=italic
779 highlight! Underline cterm=underline gui=underline 779 highlight! Underline cterm=underline gui=underline
780 highlight! BoldItalic cterm=Bold,Italic gui=Bold,Italic 780 highlight! BoldItalic cterm=Bold,Italic gui=Bold,Italic
781
782 " make tab stop (see listchars) less disturbing...
783 highlight! link SpecialKey NonText
781endfunction 784endfunction
782autocmd! ColorScheme * call ExtendColorTheme() 785autocmd! ColorScheme * call ExtendColorTheme()
783 786
..