Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
nosyntax.vim32 linesDownload Raw Back to syntax
1" Vim syntax support file2" Maintainer:	The Vim Project <https://github.com/vim/vim>3" Last Change:	2023 Aug 104" Former Maintainer:	Bram Moolenaar <Bram@vim.org>5 6" This file is used for ":syntax off".7" It removes the autocommands and stops highlighting for all buffers.8 9if !has("syntax")10  finish11endif12 13" Remove all autocommands for the Syntax event.  This also avoids that14" "syntax=foo" in a modeline triggers the SynSet() function of synload.vim.15au! Syntax16 17" remove all syntax autocommands and remove the syntax for each buffer18augroup syntaxset19  au!20  au BufEnter * syn clear21  au BufEnter * if exists("b:current_syntax") | unlet b:current_syntax | endif22  doautoall syntaxset BufEnter *23  au!24augroup END25 26if exists("syntax_on")27  unlet syntax_on28endif29if exists("syntax_manual")30  unlet syntax_manual31endif32 
codekingpro/portable-devtools · Team Ai