From cf14dfc8ef7801801036ee09b38aacfa630012c4 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sun, 27 Mar 2016 18:44:59 +0100 Subject: updates --- Editor/vimrc | 80 +++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 41 deletions(-) (limited to 'Editor') diff --git a/Editor/vimrc b/Editor/vimrc index 6cfe291..0a080a0 100644 --- a/Editor/vimrc +++ b/Editor/vimrc @@ -16,17 +16,17 @@ filetype off " required "call vundle#end() " required filetype plugin indent on " required -""Syntatic settings -"let g:syntastic_enable_perl_checker = 1 -"let g:syntastic_perl_checkers = ['perl'] -"set statusline+=%#warningmsg# -"set statusline+=%{SyntasticStatuslineFlag()} -"set statusline+=%* -" -"let g:syntastic_always_populate_loc_list = 1 -"let g:syntastic_auto_loc_list = 1 -"let g:syntastic_check_on_open = 1 -"let g:syntastic_check_on_wq = 0 +""Syntastic settings +let g:syntastic_enable_perl_checker = 1 +let g:syntastic_perl_checkers = ['perl'] +set statusline+=%#warningmsg# +set statusline+=%{SyntasticStatuslineFlag()} +set statusline+=%* + +let g:syntastic_always_populate_loc_list = 1 +let g:syntastic_auto_loc_list = 1 +let g:syntastic_check_on_open = 1 +let g:syntastic_check_on_wq = 0 " " "" Ultisnips @@ -125,33 +125,31 @@ nnoremap w :w " YouCompleteMe options " -" let g:ycm_register_as_syntastic_checker = 1 "default 1 -" let g:Show_diagnostics_ui = 1 "default 1 -" -" "will put icons in Vim's gutter on lines that have a diagnostic set. -" "Turning this off will also turn off the YcmErrorLine and YcmWarningLine -" "highlighting -" let g:ycm_enable_diagnostic_signs = 1 -" let g:ycm_enable_diagnostic_highlighting = 0 -" let g:ycm_always_populate_location_list = 1 "default 0 -" let g:ycm_open_loclist_on_ycm_diags = 1 "default 1 -" -" -" let g:ycm_complete_in_strings = 1 "default 1 -" let g:ycm_collect_identifiers_from_tags_files = 0 "default 0 -" let g:ycm_path_to_python_interpreter = '' "default '' -" -" -" let g:ycm_server_use_vim_stdout = 0 "default 0 (logging to console) -" let g:ycm_server_log_level = 'info' "default info -" -" -" let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' "where to search for .ycm_extra_conf.py if not found -" let g:ycm_confirm_extra_conf = 0 -" -" -" let g:ycm_goto_buffer_command = 'same-buffer' "[ 'same-buffer', 'horizontal-split', 'vertical-split', 'new-tab' ] -" let g:ycm_filetype_whitelist = { '*': 1 } -" let g:ycm_key_invoke_completion = '' -" -" + let g:ycm_register_as_syntastic_checker = 1 "default 1 + let g:Show_diagnostics_ui = 1 "default 1 + + "will put icons in Vim's gutter on lines that have a diagnostic set. + "Turning this off will also turn off the YcmErrorLine and YcmWarningLine + "highlighting + let g:ycm_enable_diagnostic_signs = 1 + let g:ycm_enable_diagnostic_highlighting = 0 + let g:ycm_always_populate_location_list = 1 "default 0 + let g:ycm_open_loclist_on_ycm_diags = 1 "default 1 + + + let g:ycm_complete_in_strings = 1 "default 1 + let g:ycm_collect_identifiers_from_tags_files = 0 "default 0 + let g:ycm_path_to_python_interpreter = '' "default '' + + + let g:ycm_server_use_vim_stdout = 0 "default 0 (logging to console) + let g:ycm_server_log_level = 'info' "default info + + + let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' "where to search for .ycm_extra_conf.py if not found + let g:ycm_confirm_extra_conf = 0 + + + let g:ycm_goto_buffer_command = 'same-buffer' "[ 'same-buffer', 'horizontal-split', 'vertical-split', 'new-tab' ] + let g:ycm_filetype_whitelist = { '*': 1 } + let g:ycm_key_invoke_completion = '' -- cgit v1.2.3-54-g00ecf