Browse Source

Added plantuml package and vim support

master
Micah Halter 2 weeks ago
parent
commit
858645c258
4 changed files with 6 additions and 3 deletions
  1. 1
    0
      CHANGELOG.md
  2. 1
    0
      Makefile
  3. 2
    2
      neovim/.config/nvim/init.vim
  4. 2
    1
      scripts/.config/Scripts/compiler

+ 1
- 0
CHANGELOG.md View File

@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
9 9
 
10 10
 ### Added
11 11
 
12
+- Added `plantuml` and added compiler and vim support
12 13
 - Added Julia plugin to neovim
13 14
 - Added script to get bibliography information from DOI number
14 15
 - Added tracking for custom files generated for scripts like bookmarks/pins/tasks/todo

+ 1
- 0
Makefile View File

@@ -177,6 +177,7 @@ aur: yay
177 177
 		nerd-fonts-inconsolata \
178 178
 		networkmanager-dmenu-git \
179 179
 		openvpn-update-systemd-resolved \
180
+		plantuml \
180 181
 		qutebrowser-git \
181 182
 		rtv \
182 183
 		sc-im \

+ 2
- 2
neovim/.config/nvim/init.vim View File

@@ -6,6 +6,7 @@ call plug#begin('$HOME/.config/nvim/plugged-remote')
6 6
 Plug 'https://github.com/JuliaEditorSupport/julia-vim'
7 7
 Plug 'https://github.com/SirVer/ultisnips'
8 8
 Plug 'https://github.com/airblade/vim-gitgutter'
9
+Plug 'https://github.com/aklt/plantuml-syntax'
9 10
 Plug 'https://github.com/dhruvasagar/vim-table-mode'
10 11
 Plug 'https://github.com/edkolev/tmuxline.vim'
11 12
 Plug 'https://github.com/fatih/vim-go', { 'do': ':GoUpdateBinaries' }
@@ -35,7 +36,6 @@ Plug 'https://github.com/vim-scripts/ReplaceWithRegister'
35 36
 Plug 'https://github.com/w0rp/ale'
36 37
 call plug#end()
37 38
 
38
-
39 39
 """"""""""""""""""""""""""""
40 40
 " => General
41 41
 """"""""""""""""""""""""""""
@@ -400,7 +400,7 @@ augroup END
400 400
 
401 401
 augroup graphviz
402 402
   autocmd BufNewFile,BufRead *.gv,*.dot inoremap ;ep ε
403
-  autocmd BufNewFile,BufRead *.gv,*.dot nnoremap <buffer> <leader>mv :![[ -e %:r.png ]] && sxiveh %:r.png &> /dev/null &<CR><CR>;
403
+  autocmd BufNewFile,BufRead *.gv,*.dot,*.uml,*.pu nnoremap <buffer> <leader>mv :![[ -e %:r.png ]] && sxiveh %:r.png &> /dev/null &<CR><CR>;
404 404
 augroup END
405 405
 
406 406
 augroup markup

+ 2
- 1
scripts/.config/Scripts/compiler View File

@@ -21,7 +21,8 @@ function pdfpcCleanup {
21 21
 }
22 22
 
23 23
 case "$file" in
24
-  *\.gv|*\.dot) dot -Tpng $file -o $base.png ;;
24
+  *\.uml|*\.pu) plantuml "$file" ;;
25
+  *\.gv|*\.dot) dot -Tpng "$file" -o "$base".png ;;
25 26
   *\.ms) refer -PS -e "$file" | groff -me -ms -kejpt -T pdf > "$base".pdf ;;
26 27
   *\.mom) refer -PS -e "$file" | groff -mom -kejpt -T pdf > "$base".pdf ;;
27 28
   *\.rmd) echo "require(rmarkdown); render('$file')" | R -q --vanilla && pdfpcCleanup ;;

Loading…
Cancel
Save