This commit is contained in:
2023-03-16 15:51:37 +05:30
parent a5871c48e4
commit 9b74ed3e95
+3
View File
@@ -61,6 +61,9 @@ au BufEnter *.sshconf set ft=sshconfig
autocmd VimEnter *.py SyntasticToggleMode
" Disable sytax for big files
" autocmd BufWinEnter * if line2byte(line("$") + 1) > 10000 | set ft=text | let b:deoplete_disable_auto_complete = 1 | endif
" autocmd BufEnter * if getfsize(expand("%")) > 10000 | set ft=text | endif
" Syntax based folding found be slow. In most of the cases, we will do indenting according to syntax.
autocmd FileType java set foldmethod=indent