I broke up with neovim....vim is my best friend now

This commit is contained in:
LinlyBoi
2023-04-30 08:14:07 +03:00
parent 0d185449c5
commit 4a4a6b1e81
5245 changed files with 468325 additions and 25 deletions

View File

@@ -0,0 +1,641 @@
let s:blacklist = {
\ 'javascript': [
\ 'render',
\ 'constructor',
\ 'console',
\ 'log',
\ 'await',
\ 'window',
\ 'break',
\ 'case',
\ 'catch',
\ 'class',
\ 'const',
\ 'continue',
\ 'debugger',
\ 'default',
\ 'delete',
\ 'do',
\ 'else',
\ 'enum',
\ 'export',
\ 'extends',
\ 'false',
\ 'finally',
\ 'for',
\ 'function',
\ 'if',
\ 'implements',
\ 'import',
\ 'in',
\ 'instanceof',
\ 'interface',
\ 'let',
\ 'new',
\ 'null',
\ 'package',
\ 'private',
\ 'protected',
\ 'public',
\ 'return',
\ 'static',
\ 'super',
\ 'switch',
\ 'this',
\ 'throw',
\ 'true',
\ 'try',
\ 'typeof',
\ 'require',
\ 'from',
\ 'props',
\ 'state',
\ 'bind',
\ 'var',
\ 'void',
\ 'while',
\ 'with',
\ ],
\ 'typescript': [
\ 'await',
\ 'break',
\ 'case',
\ 'catch',
\ 'class',
\ 'const',
\ 'continue',
\ 'debugger',
\ 'default',
\ 'delete',
\ 'do',
\ 'else',
\ 'enum',
\ 'export',
\ 'extends',
\ 'false',
\ 'finally',
\ 'for',
\ 'function',
\ 'if',
\ 'implements',
\ 'import',
\ 'in',
\ 'instanceof',
\ 'interface',
\ 'let',
\ 'new',
\ 'null',
\ 'package',
\ 'private',
\ 'protected',
\ 'public',
\ 'return',
\ 'static',
\ 'super',
\ 'switch',
\ 'this',
\ 'throw',
\ 'true',
\ 'try',
\ 'typeof',
\ 'var',
\ 'void',
\ 'while',
\ 'with',
\ 'boolean',
\ 'number',
\ 'string',
\ 'Array',
\ 'Object',
\ 'any',
\ 'module',
\ ],
\ 'ruby': [
\ 'BEGIN',
\ 'do',
\ '?',
\ 'END',
\ '__FILE__',
\ '__LINE__',
\ 'alias',
\ 'and',
\ 'begin',
\ 'break',
\ 'case',
\ 'class',
\ 'def',
\ 'defined',
\ 'else',
\ 'elsif',
\ 'end',
\ 'ensure',
\ 'false',
\ 'for',
\ 'if',
\ 'in',
\ 'module',
\ 'next',
\ 'nil',
\ 'not',
\ 'or',
\ 'redo',
\ 'rescue',
\ 'retry',
\ 'return',
\ 'self',
\ 'super',
\ 'then',
\ 'true',
\ 'undef',
\ 'unless',
\ 'until',
\ 'when',
\ 'while',
\ 'while',
\ ],
\ 'php': [
\ '__CLASS__',
\ '__DIR__',
\ '__FILE__',
\ '__FUNCTION__',
\ '__LINE__',
\ '__METHOD__',
\ '__NAMESPACE__',
\ '__TRAIT__',
\ '__halt_compiler',
\ 'abstract',
\ 'and',
\ 'array',
\ 'as',
\ 'break',
\ 'callable',
\ 'case',
\ 'catch',
\ 'class',
\ 'clone',
\ 'const',
\ 'continue',
\ 'declare',
\ 'default',
\ 'die',
\ 'do',
\ 'echo',
\ 'else',
\ 'elseif',
\ 'empty',
\ 'enddeclare',
\ 'endfor',
\ 'endforeach',
\ 'endif',
\ 'endswitch',
\ 'endwhile',
\ 'eval',
\ 'exit',
\ 'extends',
\ 'final',
\ 'for',
\ 'foreach',
\ 'function',
\ 'global',
\ 'goto',
\ 'if',
\ 'implements',
\ 'include',
\ 'include_once',
\ 'instanceof',
\ 'insteadof',
\ 'interface',
\ 'isset',
\ 'list',
\ 'namespace',
\ 'new',
\ 'or',
\ 'print',
\ 'private',
\ 'protected',
\ 'public',
\ 'require',
\ 'require_once',
\ 'return',
\ 'static',
\ 'switch',
\ 'throw',
\ 'trait',
\ 'try',
\ 'unset',
\ 'use',
\ 'var',
\ 'while',
\ 'xor',
\ ],
\ 'python': [
\ 'True',
\ 'False',
\ 'None',
\ 'and',
\ 'as',
\ 'assert',
\ 'break',
\ 'class',
\ 'continue',
\ 'def',
\ 'del',
\ 'elif',
\ 'else',
\ 'except',
\ 'exec',
\ 'finally',
\ 'for',
\ 'from',
\ 'global',
\ 'if',
\ 'import',
\ 'in',
\ 'is',
\ 'lambda',
\ 'not',
\ 'or',
\ 'pass',
\ 'print',
\ 'raise',
\ 'return',
\ 'try',
\ 'while',
\ 'with',
\ 'yield',
\ ],
\ 'coffee': [
\ 'true',
\ 'false',
\ 'null',
\ 'this',
\ 'new',
\ 'delete',
\ 'typeof',
\ 'in',
\ 'instanceof',
\ 'return',
\ 'throw',
\ 'break',
\ 'continue',
\ 'debugger',
\ 'if',
\ 'else',
\ 'switch',
\ 'for',
\ 'while',
\ 'do',
\ 'try',
\ 'catch',
\ 'finally',
\ 'class',
\ 'extends',
\ 'super',
\ 'undefined',
\ 'then',
\ 'unless',
\ 'until',
\ 'loop',
\ 'of',
\ 'by',
\ 'when',
\ ],
\ 'c': [
\ 'auto',
\ 'break',
\ 'bool',
\ 'case',
\ 'char',
\ 'const',
\ 'continue',
\ 'default',
\ 'define',
\ 'defined',
\ 'do',
\ 'double',
\ 'elif',
\ 'else',
\ 'endif',
\ 'enum',
\ 'extern',
\ 'float',
\ 'for',
\ 'goto',
\ 'if',
\ 'ifdef',
\ 'int',
\ 'int8_t',
\ 'int16_t',
\ 'int32_t',
\ 'long',
\ 'register',
\ 'return',
\ 'short',
\ 'signed',
\ 'sizeof',
\ 'static',
\ 'struct',
\ 'switch',
\ 'typedef',
\ 'uint8_t',
\ 'uint16_t',
\ 'uint32_t',
\ 'union',
\ 'unsigned',
\ 'void',
\ 'volatile',
\ 'while',
\ ],
\ 'cpp': [
\ 'auto',
\ 'alignas',
\ 'alignof',
\ 'break',
\ 'bool',
\ 'case',
\ 'char',
\ 'char16_t',
\ 'char32_t',
\ 'const',
\ 'constexpr',
\ 'const_cast',
\ 'continue',
\ 'class',
\ 'default',
\ 'define',
\ 'decltype',
\ 'delete',
\ 'do',
\ 'double',
\ 'dynamic_cast',
\ 'else',
\ 'enum',
\ 'error',
\ 'extern',
\ 'explicit',
\ 'float',
\ 'false',
\ 'friend',
\ 'final',
\ 'for',
\ 'goto',
\ 'if',
\ 'inline',
\ 'int',
\ 'int8_t',
\ 'int16_t',
\ 'int32_t',
\ 'long',
\ 'line',
\ 'mutable',
\ 'namespace',
\ 'new',
\ 'noexcept',
\ 'nullptr',
\ 'operator',
\ 'override',
\ 'private',
\ 'pragma',
\ 'protected',
\ 'public',
\ 'register',
\ 'reinterpret_cast',
\ 'return',
\ 'short',
\ 'signed',
\ 'sizeof',
\ 'static',
\ 'static_assert',
\ 'static_cast',
\ 'struct',
\ 'switch',
\ 'template',
\ 'this',
\ 'thread_local',
\ 'throw',
\ 'true',
\ 'try',
\ 'typedef',
\ 'typeid',
\ 'typename',
\ 'uint8_t',
\ 'uint16_t',
\ 'uint32_t',
\ 'union',
\ 'unsigned',
\ 'undef',
\ 'using',
\ 'virtual',
\ 'void',
\ 'volatile',
\ 'wchar_t',
\ 'while',
\ ],
\ 'java': [
\ 'abstract',
\ 'continue',
\ 'for',
\ 'new',
\ 'switch',
\ 'assert',
\ 'default',
\ 'goto',
\ 'package',
\ 'synchronized',
\ 'boolean',
\ 'do',
\ 'if',
\ 'private',
\ 'this',
\ 'break',
\ 'double',
\ 'implements',
\ 'protected',
\ 'throw',
\ 'byte',
\ 'else',
\ 'import',
\ 'public',
\ 'throws',
\ 'case',
\ 'enum',
\ 'instanceof',
\ 'return',
\ 'transient',
\ 'catch',
\ 'extends',
\ 'int',
\ 'short',
\ 'try',
\ 'char',
\ 'final',
\ 'interface',
\ 'static',
\ 'void',
\ 'class',
\ 'finally',
\ 'long',
\ 'strictfp',
\ 'volatile',
\ 'const',
\ 'float',
\ 'native',
\ 'super',
\ 'while'
\ ],
\ 'rust': [
\ 'Self',
\ 'as',
\ 'bool',
\ 'box',
\ 'break',
\ 'char',
\ 'const',
\ 'continue',
\ 'crate',
\ 'else',
\ 'enum',
\ 'extern',
\ 'f32',
\ 'f64',
\ 'fn',
\ 'for',
\ 'i16',
\ 'i32',
\ 'i64',
\ 'i8',
\ 'if',
\ 'impl',
\ 'isize',
\ 'let',
\ 'loop',
\ 'match',
\ 'mod',
\ 'move',
\ 'mut',
\ 'pub',
\ 'return',
\ 'ref',
\ 'self',
\ 'static',
\ 'str',
\ 'struct',
\ 'super',
\ 'trait',
\ 'type',
\ 'u16',
\ 'u32',
\ 'u64',
\ 'u8',
\ 'unsafe',
\ 'use',
\ 'usize',
\ 'where',
\ 'while',
\ ],
\ 'go': [
\ 'break',
\ 'case',
\ 'chan',
\ 'const',
\ 'continue',
\ 'default',
\ 'defer',
\ 'else',
\ 'fallthrough',
\ 'for',
\ 'func',
\ 'go',
\ 'goto',
\ 'if',
\ 'import',
\ 'interface',
\ 'map',
\ 'package',
\ 'range',
\ 'return',
\ 'select',
\ 'struct',
\ 'switch',
\ 'type',
\ 'var',
\ 'string',
\ 'bool',
\ 'error',
\ 'true',
\ 'false',
\ 'int8',
\ 'int16',
\ 'int32',
\ 'int64',
\ 'uint8',
\ 'uint16',
\ 'uint32',
\ 'uint64',
\ 'float32',
\ 'float64',
\ 'complex64',
\ 'complex128',
\ 'byte',
\ ],
\ 'scala': [
\ 'abstract',
\ 'case',
\ 'catch',
\ 'class',
\ 'def',
\ 'do',
\ 'else',
\ 'extends',
\ 'false',
\ 'final',
\ 'finally',
\ 'for',
\ 'forSome',
\ 'if',
\ 'implicit',
\ 'import',
\ 'lazy',
\ 'macro',
\ 'match',
\ 'new',
\ 'null',
\ 'object',
\ 'override',
\ 'package',
\ 'private',
\ 'protected',
\ 'return',
\ 'sealed',
\ 'super',
\ 'this',
\ 'throw',
\ 'trait',
\ 'try',
\ 'true',
\ 'type',
\ 'val',
\ 'var',
\ 'while',
\ 'with',
\ 'yield',
\ '_',
\ ':',
\ '=',
\ '=>',
\ '<-',
\ '<:',
\ '<%',
\ '>:',
\ '#',
\ '@',
\ ],
\ }
if (exists('g:semanticBlacklistOverride'))
let s:blacklist = extend(s:blacklist, g:semanticBlacklistOverride)
endif
function! blacklist#GetBlacklist()
return s:blacklist
endfunction

View File

@@ -0,0 +1,11 @@
let s:containedinlist = {
\ 'php': 'phpBracketInString,phpVarSelector,phpClExpressions,phpIdentifier',
\ }
if (exists('g:semanticContainedlistOverride'))
let s:containedinlist = extend(s:containedinlist, g:semanticContainedlistOverride)
endif
function! containedinlist#GetContainedinlist()
return s:containedinlist
endfunction