From 45ac0f93ea05b28258ee8ab1b13b7861d20fb5ed Mon Sep 17 00:00:00 2001 From: Felix Zeller Date: Thu, 29 Feb 2024 17:48:33 -0500 Subject: [PATCH] fix: docs --- Session.vim | 52 ++++++++++++++++++++++++++++++ book/src/generated/lang-support.md | 2 +- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 Session.vim diff --git a/Session.vim b/Session.vim new file mode 100644 index 0000000000000..6a707cab03b21 --- /dev/null +++ b/Session.vim @@ -0,0 +1,52 @@ +let SessionLoad = 1 +let s:so_save = &g:so | let s:siso_save = &g:siso | setg so=0 siso=0 | setl so=-1 siso=-1 +let v:this_session=expand(":p") +silent only +silent tabonly +cd ~/coding/OpenSource/helix +if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' + let s:wipebuf = bufnr('%') +endif +let s:shortmess_save = &shortmess +if &shortmess =~ 'A' + set shortmess=aoOA +else + set shortmess=aoO +endif +badd +48 languages.toml +badd +39 book/src/install.md +argglobal +%argdel +edit languages.toml +argglobal +setlocal fdm=expr +setlocal fde=nvim_treesitter#foldexpr() +setlocal fmr={{{,}}} +setlocal fdi=# +setlocal fdl=99 +setlocal fml=1 +setlocal fdn=99 +setlocal fen +let s:l = 1439 - ((27 * winheight(0) + 27) / 55) +if s:l < 1 | let s:l = 1 | endif +keepjumps exe s:l +normal! zt +keepjumps 1439 +normal! 010| +lcd ~/coding/OpenSource/helix +tabnext 1 +if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal' + silent exe 'bwipe ' . s:wipebuf +endif +unlet! s:wipebuf +set winheight=1 winwidth=20 +let &shortmess = s:shortmess_save +let s:sx = expand(":p:r")."x.vim" +if filereadable(s:sx) + exe "source " . fnameescape(s:sx) +endif +let &g:so = s:so_save | let &g:siso = s:siso_save +nohlsearch +doautoall SessionLoadPost +unlet SessionLoad +" vim: set ft=vim : diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 1bc6b0817036b..c9668549e0410 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -104,7 +104,7 @@ | lua | ✓ | ✓ | ✓ | `lua-language-server` | | make | ✓ | | ✓ | | | markdoc | ✓ | | | `markdoc-ls` | -| markdown | ✓ | | | `marksman` | +| markdown | ✓ | | | `marksman`, `markdown-oxide` | | markdown.inline | ✓ | | | | | matlab | ✓ | ✓ | ✓ | | | mermaid | ✓ | | | |