diff options
-rw-r--r-- | config/clangd/config.yaml | 8 | ||||
-rwxr-xr-x | install | 1 | ||||
-rwxr-xr-x | local/bin/wake-ridcully | 2 | ||||
m--------- | private | 0 | ||||
-rw-r--r-- | vim/ftplugin/c.vim | 1 |
5 files changed, 11 insertions, 1 deletions
diff --git a/config/clangd/config.yaml b/config/clangd/config.yaml new file mode 100644 index 0000000..2fc7c59 --- /dev/null +++ b/config/clangd/config.yaml @@ -0,0 +1,8 @@ +Diagnostics: + UnusedIncludes: Strict +InlayHints: + Enabled: Yes + ParameterNames: Yes + DeducedTypes: Yes +Hover: + ShowAKA: Yes @@ -56,6 +56,7 @@ if ask "vim" "Install VIM scripts"; then fi if ask "dev" "Development tools configuration"; then + inst config/clangd/ ~/.config/clangd inst pdbrc ~/.pdbrc inst config/pycodestyle ~/.config/pycodestyle inst flake8 ~/.flake8 diff --git a/local/bin/wake-ridcully b/local/bin/wake-ridcully index a29ad64..d4c2fa8 100755 --- a/local/bin/wake-ridcully +++ b/local/bin/wake-ridcully @@ -1,2 +1,2 @@ #!/bin/sh -exec ssh omnia.adm etherwake -i br-lan 70:85:c2:4a:59:f2 +exec ssh omnia.adm wakeonlan 70:85:c2:4a:59:f2 diff --git a/private b/private -Subproject f4e35eefe069d3348a7e4eff9d5d1553ba30e77 +Subproject 0881f899191e860d53362f870f0a6831a52c466 diff --git a/vim/ftplugin/c.vim b/vim/ftplugin/c.vim index 1b8989d..1d3780c 100644 --- a/vim/ftplugin/c.vim +++ b/vim/ftplugin/c.vim @@ -1,6 +1,7 @@ let b:ale_linters = ['clangd', 'cppcheck', 'flawfinder'] let b:ale_fixers = ['clang-format', 'remove_trailing_lines', 'trim_whitespace'] let g:ale_c_parse_compile_commands = 1 +let g:ale_c_clangd_options = '--header-insertion=never' nmap <F8> :ALENext<cr> nmap <F7> :ALEPrevious<cr> |