-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
- Loading branch information
There are no files selected for viewing
3 comments
on commit 1d7f0e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of the settings are guarded now and others are sensible to me(but may offend others). It can be improved by echoing an warning message for unguarded settings:
function s:Warn()
echom "polyglot is changing some of your settings, to disable this message set g:disable_polyglot_warn"
endfunction
if !&autoindent
call s:Warn()
set autoindent
end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather not show warning, but change settings only if they haven't changed from defaults
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And if someone likes the defaults, I'll watch issues on this repository or comments, and remove more settings. For now most of them are needed for pleasant language support
smarttab is already set for "autoindent" functionality