1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00

feat(lang#c): remove invalid entries from neomake

This commit is contained in:
wsdjeg 2022-10-30 19:37:01 +08:00
parent a23f52bca0
commit aae60509e8
2 changed files with 9 additions and 0 deletions

View File

@ -216,7 +216,10 @@ function! SpaceVim#layers#lang#c#config() abort
let g:neomake_c_enabled_makers = ['clang']
let g:neomake_cpp_enabled_makers = ['clang']
endif
let g:neomake_c_clang_remove_invalid_entries = 1
let g:neomake_cpp_clang_remove_invalid_entries = 1
let g:neomake_c_gcc_remove_invalid_entries = 1
let g:neomake_cpp_gcc_remove_invalid_entries = 1
let g:chromatica#enable_at_startup = 0
let g:clighter_autostart = 0
augroup SpaceVim_lang_c

View File

@ -32,6 +32,12 @@ To use this configuration layer, update the custom configuration file with:
name = "lang#c"
```
for windows users, if you want to install llvm without vs build tools, you can install [mingw-winlibs-llvm](https://winlibs.com/):
```
scoop install mingw-winlibs-llvm
```
## Features
- code completion