Compare commits

...

2 Commits

Author SHA1 Message Date
Dmitry Chumak
2de1ebcfef [zsh] reverted check of the zshrc_local existance 2024-07-13 20:03:20 +03:00
Dmitry Chumak
9b60dd3c82 [vim] added coc-go 2024-07-13 20:02:44 +03:00
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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