diff --git a/misc/weechat/.gitignore b/misc/weechat/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/misc/weechat/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/text-editor/neovim/init.vim b/text-editor/neovim/init.vim index b184ba0..a85741c 100644 --- a/text-editor/neovim/init.vim +++ b/text-editor/neovim/init.vim @@ -133,6 +133,8 @@ let g:fzf_layout = { 'window': 'enew' } " plugins for specific file types +Plug 'othree/html5.vim', {'for': ['jade', 'pug', 'html', 'vue']} +Plug 'hail2u/vim-css3-syntax', {'for': ['styl', 'stylus', 'css', 'vue']} Plug 'kchmck/vim-coffee-script', {'for': ['coffee', 'coffeescript', 'vue']} Plug 'posva/vim-vue', {'for': ['vue']} Plug 'elixir-lang/vim-elixir', {'for': ['elixir']} @@ -522,8 +524,9 @@ map :setlocal spell! noremap o :!xdg-open " insert newline +" doesn't work in terminals? noremap i -noremap i +" noremap i " keep that dumb window from popping up (wild something or another) map q: :q @@ -545,3 +548,9 @@ xnoremap > >gv hi Search cterm=NONE ctermbg=blue ctermfg=black highlight LineNr ctermbg=none ctermfg=8 highlight CursorLineNr ctermbg=18 ctermfg=gray + +fun! VueModifiedFT() + set ft=vue +endfunction +:command! VueModifiedFT call VueModifiedFT() +autocmd BufRead,BufNewFile *.vue VueModifiedFT