VIM: adds firevim config
Does 2 thing: * sets up my setting for editing text (spell checking etc) * Sets the content type to html for domains starting with mail.
This commit is contained in:
parent
34b1b0be20
commit
92de12d1a8
1 changed files with 16 additions and 0 deletions
16
nvim/.config/nvim/plugin/firevim.vim
Normal file
16
nvim/.config/nvim/plugin/firevim.vim
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
let g:firenvim_config = {
|
||||||
|
\ 'globalSettings': {
|
||||||
|
\ 'alt': 'all',
|
||||||
|
\ },
|
||||||
|
\ 'localSettings': {
|
||||||
|
\ 'mail.*': {
|
||||||
|
\ 'content': 'html',
|
||||||
|
\ },
|
||||||
|
\ }
|
||||||
|
\ }
|
||||||
|
|
||||||
|
" If we are in firevim, I probably want my normal text settings
|
||||||
|
" That is, spell on and undo points when punctuation is added
|
||||||
|
if exists('g:started_by_firenvim')
|
||||||
|
call mine#functions#text()
|
||||||
|
endif
|
Loading…
Add table
Add a link
Reference in a new issue