04a20c1ef1ba85c5ff34e559d84d847b1ff01dfd
dblume Detect rokulog files even w...

dblume authored 2 months ago

1) " For vim put this in ~/.vim/scripts.vim.
dblume Add rokulog detection of "p...

dblume authored 2 months ago

2) " neovim doesn't even call scripts.vim if filetype was done.
3) " See ~/.config/nvim/init.vim and
4) " https://www.reddit.com/r/neovim/comments/wcq6sp/override_file_type_detection_for_existing/
dblume Detect rokulog files even w...

dblume authored 2 months ago

5) if did_filetype()  " filetype already set..
6)   finish           " ..don't do these checks
7) endif
dblume Add rokulog detection of "p...

dblume authored 2 months ago

8) if getline(1) =~? '^\d\{2\}-\d\{2\} \d\{2\}:\d\{2\}:\d\{2\}.\d\{3\}\s\+\(n\|dev\|\d\+\(_[0-9a-f]\+\)\?\|tvinput\.\S\+\) \['