aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2015-09-21 19:17:11 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2016-01-02 23:21:51 +0100
commit04bdeeb8b278ab995f9ea579a694a1c72eb196e6 (patch)
tree5931b004035ac811ac6a3310de63ad03e9384d56 /src/nvim/options.lua
parent49b06a8f2a12f6553ad384032e108e351767ac1d (diff)
downloadrneovim-04bdeeb8b278ab995f9ea579a694a1c72eb196e6.tar.gz
rneovim-04bdeeb8b278ab995f9ea579a694a1c72eb196e6.tar.bz2
rneovim-04bdeeb8b278ab995f9ea579a694a1c72eb196e6.zip
encoding: cleanup defaults of iskeyword, isprint and fileencodings
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index e485b90394..945626ff79 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -748,7 +748,7 @@ return {
type='string', list='comma', scope={'global'},
vi_def=true,
varname='p_fencs',
- defaults={if_true={vi="ucs-bom"}}
+ defaults={if_true={vi="ucs-bom,utf-8,default,latin1"}}
},
{
full_name='fileformat', abbreviation='ff',
@@ -1285,7 +1285,7 @@ return {
vim=true,
alloced=true,
varname='p_isk',
- defaults={if_true={vi="@,48-57,_", vim=macros('ISK_LATIN1')}}
+ defaults={if_true={vi="@,48-57,_", vim="@,48-57,_,192-255"}}
},
{
full_name='isprint', abbreviation='isp',
@@ -1294,10 +1294,7 @@ return {
vi_def=true,
redraw={'all_windows'},
varname='p_isp',
- defaults={
- condition='MSWIN',
- if_true={vi="@,~-255"},
- if_false={vi=macros("ISP_LATIN1")}
+ defaults={if_true={vi="@,161-255"}
}
},
{