mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-22 03:34:10 -05:00
Fix spelling mistakes in the other config files
This commit is contained in:
parent
223851e085
commit
99a44df496
2 changed files with 9 additions and 9 deletions
|
@ -14,7 +14,7 @@ if !exists('g:loaded_matchit') && findfile('plugin/matchit.vim', &rtp) ==# ''
|
||||||
runtime! macros/matchit.vim
|
runtime! macros/matchit.vim
|
||||||
endif
|
endif
|
||||||
|
|
||||||
"enable omnicompletion for any filetype without that has syntax highlighting
|
"enable omni-completion for any file type without that has syntax highlighting
|
||||||
if exists("+omnifunc")
|
if exists("+omnifunc")
|
||||||
autocmd VimEnter,Filetype * if &omnifunc == ""|setlocal omnifunc=syntaxcomplete#Complete|endif
|
autocmd VimEnter,Filetype * if &omnifunc == ""|setlocal omnifunc=syntaxcomplete#Complete|endif
|
||||||
endif
|
endif
|
||||||
|
@ -22,14 +22,14 @@ endif
|
||||||
"prevent warnings when changing read-only files
|
"prevent warnings when changing read-only files
|
||||||
autocmd FileChangedRO * nested set noreadonly
|
autocmd FileChangedRO * nested set noreadonly
|
||||||
|
|
||||||
"FILETPE AND SYNTAX: {{{
|
"FILE TYPE AND SYNTAX: {{{
|
||||||
"enable more accurate syntax synchronization
|
"enable more accurate syntax synchronization
|
||||||
autocmd BufEnter * :syntax sync fromstart
|
autocmd BufEnter * :syntax sync fromstart
|
||||||
|
|
||||||
"disable automatic line breaks
|
"disable automatic line breaks
|
||||||
set textwidth=0
|
set textwidth=0
|
||||||
|
|
||||||
"set filetypes for various file extensions
|
"set file types for various file extensions
|
||||||
autocmd BufNewFile,BufRead *.aspx,*.asmx,*.ascx,*.master setlocal ft=aspnet
|
autocmd BufNewFile,BufRead *.aspx,*.asmx,*.ascx,*.master setlocal ft=aspnet
|
||||||
autocmd BufNewFile,BufRead *.gradle setlocal ft=groovy
|
autocmd BufNewFile,BufRead *.gradle setlocal ft=groovy
|
||||||
autocmd BufNewFile,BufRead *eslintrc setlocal ft=json
|
autocmd BufNewFile,BufRead *eslintrc setlocal ft=json
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
set nocompatible "disable vi-compatibility settings
|
set nocompatible "disable vi-compatibility settings
|
||||||
set backspace=indent,eol,start "enables/configures standard backspace behaviour
|
set backspace=indent,eol,start "enables/configures standard backspace behaviour
|
||||||
|
|
||||||
"use the '*' register as well as the the '+' register if it's available too
|
"use the '*' register as well as the '+' register if it's available too
|
||||||
set clipboard=unnamed
|
set clipboard=unnamed
|
||||||
|
|
||||||
if has('unnamedplus')
|
if has('unnamedplus')
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
if $TERM =~ '^linux$'|set t_Co=8|elseif !has("gui_running")|set t_Co=256|endif
|
if $TERM =~ '^linux$'|set t_Co=8|elseif !has("gui_running")|set t_Co=256|endif
|
||||||
set ttyfast "assume a fast connection to the terminal for better rendering
|
set ttyfast "assume a fast connection to the terminal for better rendering
|
||||||
|
|
||||||
"configure to primarily use utf8
|
"configure to primarily use utf-8
|
||||||
if has("multi_byte")
|
if has("multi_byte")
|
||||||
if &termencoding == ""
|
if &termencoding == ""
|
||||||
let &termencoding = &encoding
|
let &termencoding = &encoding
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
|
|
||||||
"GENERAL SETTINGS: {{{
|
"GENERAL SETTINGS: {{{
|
||||||
"FILE: {{{
|
"FILE: {{{
|
||||||
filetype plugin indent on "enable filetype-based auto-indentation
|
filetype plugin indent on "enable file type-based auto-indentation
|
||||||
syntax on "enable syntax highlighting
|
syntax on "enable syntax highlighting
|
||||||
set formatoptions=roqnl12 "how automatic formatting is to be done
|
set formatoptions=roqnl12 "how automatic formatting is to be done
|
||||||
set diffopt=foldcolumn:0,filler "vimdiff default settings
|
set diffopt=foldcolumn:0,filler "vimdiff default settings
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
|
|
||||||
"USER INTERFACE: {{{
|
"USER INTERFACE: {{{
|
||||||
set updatetime=100 "set updates to occur every 100ms
|
set updatetime=100 "set updates to occur every 100ms
|
||||||
set laststatus=2 showcmd statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v] "statusline init and config
|
set laststatus=2 showcmd statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v] "status line init and config
|
||||||
set winheight=1 winminheight=1 "set the minimum window height to 1 lines
|
set winheight=1 winminheight=1 "set the minimum window height to 1 lines
|
||||||
set winwidth=1 winminwidth=1 "set the minimum window width to 1 columns
|
set winwidth=1 winminwidth=1 "set the minimum window width to 1 columns
|
||||||
set noshowmode "don't display mode information handled by lightline
|
set noshowmode "don't display mode information handled by lightline
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
set list listchars=tab:>-,trail:- "display tabs as: >--- and trailing spaces as: -
|
set list listchars=tab:>-,trail:- "display tabs as: >--- and trailing spaces as: -
|
||||||
set showmatch "show matching open bracket when closed bracket is inserted
|
set showmatch "show matching open bracket when closed bracket is inserted
|
||||||
set matchtime=5 "the amount of time before the matching bracket will highlight
|
set matchtime=5 "the amount of time before the matching bracket will highlight
|
||||||
let &showbreak = "" "character to prepend to wrapped lines when linewrapping is enabled
|
let &showbreak = "" "character to prepend to wrapped lines when line wrapping is enabled
|
||||||
|
|
||||||
"enable tab completion in command mode and configure how it handles extensions
|
"enable tab completion in command mode and configure how it handles extensions
|
||||||
set completeopt=longest,menuone
|
set completeopt=longest,menuone
|
||||||
|
@ -123,7 +123,7 @@
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
|
||||||
"update the current filetype when a file is renamed
|
"update the current file type when a file is renamed
|
||||||
augroup RenameCheckFiletype
|
augroup RenameCheckFiletype
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd BufFilePost * filetype detect
|
autocmd BufFilePost * filetype detect
|
||||||
|
|
Loading…
Reference in a new issue