summary refs log tree commit diff
path: root/home/.config/nvim/syntax/mdoc.vim
blob: d9d587f52ec582620edb05abb1181af9df4892ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
if exists("b:current_syntax")
	finish
endif

runtime! syntax/nroff.vim
unlet! b:current_syntax

setlocal sections+=ShSs
syntax match mdocBlank /^\.$/ conceal
setlocal conceallevel=2

let b:current_syntax = "mdoc"
;follow=1'>Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe