nvim: put typst stuff in an ftplugin file
This commit is contained in:
parent
232a1ba12f
commit
0aacb9e484
@ -1,6 +1,3 @@
|
||||
" typst filetype support
|
||||
Plug 'kaarmu/typst.vim'
|
||||
|
||||
" edit figure in Inkscape
|
||||
function EditFig()
|
||||
" expands filename under cursor
|
||||
@ -31,4 +28,4 @@ nnoremap <silent><leader>fc :call TypstWatch()<cr>
|
||||
|
||||
nnoremap <silent><leader>fr :silent exec "!zathura --fork " . expand("%:p:r") . ".pdf &"<cr>
|
||||
|
||||
au Filetype typst let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '$':'$', "```" : "```", "`": "`"}
|
||||
let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '$':'$', "```" : "```", "`": "`"}
|
@ -98,7 +98,8 @@ if $SYSTEM_PROFILE == "DEFAULT"
|
||||
source $XDG_CONFIG_HOME/nvim/coding.vim
|
||||
|
||||
" notes and documents stuff
|
||||
source $XDG_CONFIG_HOME/nvim/typst.vim
|
||||
" see ftplugin/typst.vim for binds and stuff
|
||||
Plug 'kaarmu/typst.vim'
|
||||
endif
|
||||
|
||||
" color theme
|
||||
|
Loading…
Reference in New Issue
Block a user