Compare commits
2 Commits
84c92e76a2
...
2de1ebcfef
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2de1ebcfef | ||
|
|
9b60dd3c82 |
@@ -176,9 +176,9 @@ let g:ansible_yamlKeyName = 'yamlKey'
|
|||||||
"
|
"
|
||||||
" CoC plugin settings
|
" CoC plugin settings
|
||||||
"
|
"
|
||||||
let g:coc_global_extensions = ['coc-pyright', 'coc-sh']
|
let g:coc_global_extensions = ['coc-pyright', 'coc-sh', 'coc-go']
|
||||||
function! s:enable_coc_for_type()
|
function! s:enable_coc_for_type()
|
||||||
let l:filesuffix_whitelist = ['py', 'sh']
|
let l:filesuffix_whitelist = ['py', 'sh', 'go']
|
||||||
if index(l:filesuffix_whitelist, expand('%:e')) == -1
|
if index(l:filesuffix_whitelist, expand('%:e')) == -1
|
||||||
let b:coc_enabled = 0
|
let b:coc_enabled = 0
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ setopt histignoredups
|
|||||||
source ~/.dotfiles/git/git-prompt.sh
|
source ~/.dotfiles/git/git-prompt.sh
|
||||||
setopt PROMPT_SUBST ; PS1='%n@%m %c$(__git_ps1 " [%s]")\$ '
|
setopt PROMPT_SUBST ; PS1='%n@%m %c$(__git_ps1 " [%s]")\$ '
|
||||||
|
|
||||||
if [[ -a ~/.zshrc_local ]]
|
if [ -f ~/.zshrc_local ]
|
||||||
then
|
then
|
||||||
source ~/.zshrc_local
|
source ~/.zshrc_local
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user