diff options
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | vim/after/syntax/readline.vim | 3 | ||||
-rw-r--r-- | vim/syntax/readline.vim | 2 |
3 files changed, 12 insertions, 1 deletions
@@ -53,6 +53,7 @@ install-vim-gui-config \ install-vim-indent \ install-vim-plugin \ + install-vim-syntax \ install-vint \ install-wget \ install-x \ @@ -506,7 +507,8 @@ install-vim: install-vim-after \ install-vim-ftdetect \ install-vim-ftplugin \ install-vim-indent \ - install-vim-plugin + install-vim-plugin \ + install-vim-syntax install-neovim: make install-vim \ @@ -591,6 +593,10 @@ install-vim-plugin: mkdir -p -- $(VIMDIR)/plugin cp -p -- vim/plugin/*.vim $(VIMDIR)/plugin +install-vim-syntax: + mkdir -p -- $(VIMDIR)/syntax + cp -p -- vim/syntax/*.vim $(VIMDIR)/syntax + install-vint: cp -p -- vint/vintrc.yaml $(HOME)/.vintrc.yaml diff --git a/vim/after/syntax/readline.vim b/vim/after/syntax/readline.vim new file mode 100644 index 00000000..050b2dc1 --- /dev/null +++ b/vim/after/syntax/readline.vim @@ -0,0 +1,3 @@ +" Clear away the flag we set in syntax/readline.vim to include Bash commands +" in the highlight list +unlet! g:readline_has_bash diff --git a/vim/syntax/readline.vim b/vim/syntax/readline.vim new file mode 100644 index 00000000..874ebb32 --- /dev/null +++ b/vim/syntax/readline.vim @@ -0,0 +1,2 @@ +" Include Bash commands in the highlight list +let g:readline_has_bash = 1 |