File: serbian.vim

package info (click to toggle)
neovim 0.11.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 64,320 kB
  • sloc: ansic: 264,714; python: 1,472; lisp: 1,237; sh: 1,137; makefile: 383; xml: 85; ruby: 6
file content (20 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
let encoding = &enc
if encoding == 'latin1'
    if has("unix")
	let encoding = 'iso-8859-2'
    else
	let encoding = 'cp1250'
    endif
endif

if encoding == 'utf-8'
	source <sfile>:p:h/serbian_utf-8.vim
elseif encoding == 'cp1250'
	source <sfile>:p:h/serbian_cp1250.vim
elseif encoding == 'cp1251'
	source <sfile>:p:h/serbian_cp1251.vim
elseif encoding == 'iso-8859-2'
	source <sfile>:p:h/serbian_iso-8859-2.vim
else
	source <sfile>:p:h/serbian_iso-8859-5.vim
endif