Browse Source

vim: настроена проверка правописания RU/EL/EN

master
Maxim Likhachev 9 years ago
parent
commit
6e6b0c3081
  1. BIN
      etc/soft/vim/vim/spell/el.utf-8.spl
  2. 2
      etc/soft/vim/vim/spell/ru.utf-8.add
  3. BIN
      etc/soft/vim/vim/spell/ru.utf-8.add.spl
  4. 20
      etc/soft/vim/vimrc

BIN
etc/soft/vim/vim/spell/el.utf-8.spl

Binary file not shown.

2
etc/soft/vim/vim/spell/ru.utf-8.add

@ -0,0 +1,2 @@
Из-за
из-за

BIN
etc/soft/vim/vim/spell/ru.utf-8.add.spl

Binary file not shown.

20
etc/soft/vim/vimrc

@ -196,8 +196,17 @@ set undoreload=10000"
set background=dark set background=dark
colo wombat_converted " Цветовая схема colo wombat_converted " Цветовая схема
"Грамматические ошибки
hi clear SpellBad hi clear SpellBad
hi SpellBad cterm=underline,bold ctermfg=160 ctermbg=none hi SpellBad cterm=bold ctermfg=160 ctermbg=none
"Ошибки в заглавных буквах
hi clear SpellCap
hi SpellCap cterm=bold ctermfg=110 ctermbg=none
"Стилистические ошибки
hi clear SpellLocal
hi SpellLocal cterm=bold ctermfg=120 ctermbg=none
hi Todo ctermfg=black ctermbg=221 " Метки TODO hi Todo ctermfg=black ctermbg=221 " Метки TODO
@ -358,10 +367,11 @@ set pastetoggle=<F6>
" Проверка орфографии " Проверка орфографии
set wcm=<Tab> set wcm=<Tab>
menu Spell.ru :set spell spelllang=<CR> :set spelllang=ru<CR> menu Spell.ru :setlocal spell<CR>:setlocal spelllang=<CR>:setlocal spelllang=ru<CR>
menu Spell.ru,en :set spell spelllang=<CR> :set spelllang=ru,en<CR> menu Spell.el :setlocal spell<CR>:setlocal spelllang=<CR>:setlocal spelllang=el<CR>
menu Spell.en :set spell spelllang=<CR> :set spelllang=en<CR> menu Spell.en :setlocal spell<CR>:setlocal spelllang=<CR>:setlocal spelllang=en<CR>
menu Spell.off :set nospell<CR> menu Spell.ru,en,el :setlocal spell<CR>:setlocal spelllang=<CR>:setlocal spelllang=ru,en,el<CR>
menu Spell.off :setlocal nospell<CR>
map <F6> :emenu Spell.<TAB> map <F6> :emenu Spell.<TAB>
" Навигация по ошибкам " Навигация по ошибкам

Loading…
Cancel
Save