Skip to content

Commit

Permalink
date
Browse files Browse the repository at this point in the history
  • Loading branch information
wow-yes committed Nov 17, 2023
1 parent b9a2e8e commit 7cfdcb3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 2 additions & 0 deletions config/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ alias ftpNas="lftp -u anonymous,passwd -e \"set ftp:ssl-force yes\" gdc.cddis.
PS1=""
PS1+="\[\033[1;32m\][${debian_chroot:+($debian_chroot)}\u@\h]\[\e[0m\]"

## for nvim
export PATH="$HOME/nvim/nvim/bin/:$HOME/nvim/node/bin/:$PATH"

PATH=$PATH:/opt/bin/:~/.local/bin/:/usr/local/lib

Expand Down
11 changes: 5 additions & 6 deletions config/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,13 @@ Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-surround'
Plug 'vim-scripts/c.vim', {'for':['c','cpp']}


Plug 'dense-analysis/ale'
let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'
let g:ale_set_loclist = 0
let g:ale_open_list = 0
let g:ale_keep_list_window_open = 0
let g:ale_lint_on_text_changed='never' "文件内容发生变化时不检查
let g:ale_lint_on_enter = 0 "打开文件时不检查
let g:ale_set_loclist = 1
let g:ale_open_list = 1
let g:ale_keep_list_window_open = 1
let g:ale_lint_on_text_changed='always' "文件内容发生变化时不检查
let g:ale_lint_on_enter = 1 "打开文件时不检查

"使用clang对c和c++进行语法检查,对python使用pylint进行语法检查
let g:ale_linters = {
Expand Down

0 comments on commit 7cfdcb3

Please sign in to comment.