aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-11-20 20:21:41 +0800
committerGuangxiong Lin <[email protected]>2023-11-20 20:21:41 +0800
commit8478ba2c7235d7fa76ae5f7c8fdcdea01f63b806 (patch)
tree311f617d0580ea3b5e3d9ac90e1c0fec3395d035
parent8e9362203bbac9dd6077283c73a4157cf1025329 (diff)
downloaddotfiles-8478ba2c7235d7fa76ae5f7c8fdcdea01f63b806.tar.gz
dotfiles-8478ba2c7235d7fa76ae5f7c8fdcdea01f63b806.tar.bz2
dotfiles-8478ba2c7235d7fa76ae5f7c8fdcdea01f63b806.zip
Keep using mucomplete
-rw-r--r--.vim/after/ftplugin/markdown.vim2
-rw-r--r--.vim/after/plugin/asyncomplete.vim2
-rw-r--r--.vim/after/plugin/mucomplete.vim1
3 files changed, 3 insertions, 2 deletions
diff --git a/.vim/after/ftplugin/markdown.vim b/.vim/after/ftplugin/markdown.vim
index c60318a..a999f20 100644
--- a/.vim/after/ftplugin/markdown.vim
+++ b/.vim/after/ftplugin/markdown.vim
@@ -3,7 +3,7 @@ nmap <buffer> k gk
autocmd CursorHold,CursorHoldI <buffer> update
-setlocal iskeyword+=[
+setlocal iskeyword+=[,\-
" setlocal formatoptions-=t
" setlocal formatoptions-=c
diff --git a/.vim/after/plugin/asyncomplete.vim b/.vim/after/plugin/asyncomplete.vim
index 7eda153..7a2d7ed 100644
--- a/.vim/after/plugin/asyncomplete.vim
+++ b/.vim/after/plugin/asyncomplete.vim
@@ -2,6 +2,8 @@ if has('nvim')
finish
endif
+finish
+
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
inoremap <expr> <cr> pumvisible() ? "\<c-y>" : "\<cr>"
diff --git a/.vim/after/plugin/mucomplete.vim b/.vim/after/plugin/mucomplete.vim
index c7a05c0..3efbcbe 100644
--- a/.vim/after/plugin/mucomplete.vim
+++ b/.vim/after/plugin/mucomplete.vim
@@ -1,4 +1,3 @@
-finish
let g:mucomplete#enable_auto_at_startup = 1
let g:mucomplete#minimum_prefix_length = 1
let g:mucomplete#empty_text_auto = 1