diff --git a/.vim/vimrc b/.vim/vimrc index 87d18c8..dd97bd9 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -214,6 +214,46 @@ let g:ale_hover_to_floating_preview = 1 let g:ale_completion_enabled = 1 let g:ale_hover_to_preview = 1 let g:ale_lsp_suggestions = 1 +let g:ale_terraform_langserver_executable = 'terraform-ls' +let g:ale_set_balloons = 1 +let g:ale_floating_window_border = ['│', '─', '╭', '╮', '╯', '╰'] + +" Do not keep the sign gutter open at all time. +let g:ale_sign_column_always = 0 +let g:ale_sign_highlight_linenrs = 0 +let g:ale_sign_offset = 1000000 +let g:ale_max_signs = -1 +let g:ale_change_sign_column_color = 0 +let g:ale_linters_explicit = 1 +let g:ale_history_enabled = 0 +let g:ale_history_log_output = 0 +let g:ale_warn_about_trailing_blank_lines = 1 +let g:ale_warn_about_trailing_whitespace = 1 + +let g:ale_go_golangci_lint_package = 1 +let g:ale_go_golangci_lint_options = 'run' + +let g:ale_c_clang_options = '-Wall -I. -Iinclude -Iinc' +let g:ale_c_gcc_options = '-Wall -I. -Iinclude -Iinc' +let g:ale_cpp_cc_executable = 'g++' +let g:ale_cpp_cc_options = '-std=c++20 -Wall -Wextra -I. -Iinclude -Iinc' +let g:ale_cpp_clang_options = '-std=c++20 -Wall -Wextra -I. -Iinclude -Iinc' +let g:ale_cpp_gcc_options = '-std=c++20 -Wall -Wextra -I. -Iinclude -Iinc' +" let g:ale_cpp_clangtidy_checks = ['-*,clang-diagnostic-*,clang-analyzer-*,google-*,bugprone-*'] +let g:ale_cpp_clangtidy_checks = ['-*,clang-diagnostic-*,clang-analyzer-*,bugprone-assert-side-effect,bugprone-inaccurate-erase,performance-move-const-arg'] +let g:ale_cpp_clangtidy_extra_options = '-extra-arg=-std=c++20' +" let g:ale_cpp_clangtidy_options = ['--header-filer="" --use-color=true'] +" let g:ale_cpp_cppcheck_options = '--enable=style' +let g:ale_cpp_cppcheck_options = '--language=c++ --std=c++20 --enable=all --verbose --suppress=unmatchedSuppression --suppress=missingIncludeSystem' +let g:ale_echo_cursor = 1 +let g:ale_echo_msg_error_str = 'E' +let g:ale_echo_msg_warning_str = 'W' +let g:ale_echo_msg_info_str = 'I' +let g:ale_sign_error = '❌' +let g:ale_sign_warning = '' +let g:ale_sign_info = '' +" let g:ale_echo_msg_format = '%s' +let g:ale_echo_msg_format = '(%severity%): [%linter%] %s' let g:ale_open_list = 0 let g:ale_list_vertical = 0