aboutsummaryrefslogtreecommitdiff
path: root/core/options.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-01-20 00:14:23 +0800
committerjdhao <jdhao@hotmail.com>2021-01-20 00:14:44 +0800
commitdfd63c9a3c83b34596f5700f0b4f163c7c98e512 (patch)
tree6ad6aa0bd77273102dc2b04d8346991e3def4614 /core/options.vim
parent09e479a4950a272263df3a65b600dae22e9cd6c9 (diff)
Update isfname option
These characters should not be used in file names.
Diffstat (limited to 'core/options.vim')
-rw-r--r--core/options.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/options.vim b/core/options.vim
index abe9b26..5b7e322 100644
--- a/core/options.vim
+++ b/core/options.vim
@@ -162,4 +162,9 @@ augroup END
set guicursor=n-v-c:block-Cursor/lCursor,i-ci-ve:ver25-Cursor2/lCursor2,r-cr:hor20,o:hor20
set signcolumn=auto:2
+
+" Remove certain character from file name pattern matching
+set isfname-==
+set isfname-=:
+set isfname-=,
"}