aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-08-20 22:33:38 +0800
committergxlin <[email protected]>2021-08-20 22:56:13 +0800
commit558d3547645636c67bbb2d18b0dfff35f9d437c6 (patch)
tree7727ae2dd6d3af5bc874088685aec7236cae4a52
parent2d6a4a1680b78e1e6bea8d94ae14e39e2ebd36d0 (diff)
downloaddotfiles-558d3547645636c67bbb2d18b0dfff35f9d437c6.tar.gz
dotfiles-558d3547645636c67bbb2d18b0dfff35f9d437c6.tar.bz2
dotfiles-558d3547645636c67bbb2d18b0dfff35f9d437c6.zip
Update .vimrc
-rw-r--r--.ctags.d/go.ctags5
-rw-r--r--.vimrc4
2 files changed, 4 insertions, 5 deletions
diff --git a/.ctags.d/go.ctags b/.ctags.d/go.ctags
deleted file mode 100644
index bb20134..0000000
--- a/.ctags.d/go.ctags
+++ /dev/null
@@ -1,5 +0,0 @@
---langdef=Go
---langmap=Go:.go
---regex-Go=/func([ \t]+\([^)]+\))?[ \t]+([a-zA-Z0-9_]+)/\2/d,func/
---regex-Go=/var[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/d,var/
---regex-Go=/type[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/d,type/
diff --git a/.vimrc b/.vimrc
index 2cb1417..b9930fb 100644
--- a/.vimrc
+++ b/.vimrc
@@ -105,3 +105,7 @@ silent colorscheme onedark
highlight Pmenu ctermbg=grey
set exrc
+
+if !empty(glob('~/.vim_local'))
+ source ~/.vim_local
+endif