@@ -71,7 +71,7 @@ Plug 'https://github.com/mhinz/vim-mix-format' " Auto-format Elixir code wi
71
71
" Plug 'https://github.com/plasticboy/vim-markdown', { 'for': ['md', 'markdown']} " Markdown highlighting
72
72
" let g:vim_markdown_folding_disabled = 1
73
73
74
- Plug ' iamcco/markdown-preview.nvim' , { ' do' : ' cd app & yarn install' }
74
+ " Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app & yarn install' }
75
75
Plug ' https://github.com/chrisbra/Colorizer'
76
76
" :ColorToggle
77
77
@@ -143,10 +143,6 @@ Plug 'danilamihailov/beacon.nvim'
143
143
Plug ' https://github.com/itchyny/vim-cursorword'
144
144
Plug ' https://github.com/dhruvasagar/vim-zoom'
145
145
" <C-W>m to toggle zoom in and out for the split
146
- Plug ' https://github.com/vim-pandoc/vim-pandoc-syntax'
147
- augroup pandoc_syntax
148
- au ! BufNewFile ,BufFilePre ,BufRead * .md set filetype = markdown.pandoc
149
- augroup END
150
146
151
147
fun ! Startscreen ()
152
148
" Don't run if:
@@ -516,7 +512,7 @@ nnoremap <silent> <leader>t :Tags<CR>
516
512
" Plug 'https://github.com/terryma/vim-multiple-cursors.git' " Pretty effective multiple cursors functionality
517
513
Plug ' https://github.com/mg979/vim-visual-multi' , {' branch' : ' master' } " Alternative to https://github.com/terryma/vim-multiple-cursors.git
518
514
" Plug 'https://github.com/ludovicchabant/vim-gutentags.git' " The best ctags plugin for Vim
519
- Plug ' ludovicchabant/vim-gutentags' , { ' commit ' : ' 31c0ead ' }
515
+ Plug ' https://github.com/ ludovicchabant/vim-gutentags' , { ' branch ' : ' master ' }
520
516
521
517
" Add plugins to &runtimepath
522
518
call plug#end ()
@@ -536,8 +532,8 @@ set noautochdir
536
532
set number
537
533
set relativenumber " show relative line numbers
538
534
set numberwidth = 3 " narrow number column
535
+ setlocal spell " Elixir's syntax highlighting is clever enough to only spellcheck comments, so it's nice to enable this. use Ctrl+L to toggle the line number counting method
539
536
540
- " use Ctrl+L to toggle the line number counting method
541
537
function ! g: ToggleNuMode ()
542
538
if &relativenumber == 1
543
539
set number
@@ -727,6 +723,11 @@ cnoremap <expr> <Down> pumvisible() ? '<C-n>' : '<down>'
727
723
let g: gutentags_file_list_command = ' rg --files'
728
724
let g: gutentags_ctags_extra_args = [' --excmd=number' ]
729
725
let g: gutentags_project_root = [' tags' ]
726
+ let g: gutentags_project_info = []
727
+ call add (g: gutentags_project_info , {' type' : ' elixir' , ' file' : ' mix.exs' })
728
+ call add (g: gutentags_project_info , { " type" : " javascript" , " glob" : " assets/src/*" })
729
+ call add (g: gutentags_project_info , { " type" : " svelte" , " glob" : " *.svelte" })
730
+
730
731
" config project root markers.
731
732
" let g:gutentags_project_root = ['.root']
732
733
" generate datebases in my cache directory, prevent gtags files polluting my project
@@ -1125,6 +1126,8 @@ let g:airline#extensions#hunks#enabled=0
1125
1126
map <Leader> d y'>p
1126
1127
vmap <Leader> d y'>p
1127
1128
1129
+ " Typing pp will insert a pipe operator
1130
+ iabbrev <buffer> pp \| >
1128
1131
1129
1132
set winblend= 0
1130
1133
set pumblend= 0
0 commit comments