neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

lf.vim (524B)


      1 " Vim filetype plugin file
      2 " Language: lf file manager configuration file (lfrc)
      3 " Maintainer: Andis Sprinkis <andis@sprinkis.com>, @CatsDeservePets
      4 " URL: https://github.com/andis-sprinkis/lf-vim
      5 " Last Change: 6 Apr 2025
      6 
      7 if exists("b:did_ftplugin") | finish | endif
      8 
      9 let b:did_ftplugin = 1
     10 
     11 let s:cpo = &cpo
     12 set cpo&vim
     13 
     14 let b:undo_ftplugin = "setlocal comments< commentstring< formatoptions<"
     15 
     16 setlocal comments=:#
     17 setlocal commentstring=#\ %s
     18 
     19 setlocal formatoptions-=t formatoptions+=rol
     20 
     21 let &cpo = s:cpo
     22 unlet s:cpo