moved ftplugins, and fixed some plugins
This commit is contained in:
parent
3a09e91ad6
commit
8c56556c86
23 changed files with 578 additions and 244 deletions
|
|
@ -54,6 +54,15 @@ local opts = {
|
|||
termguicolors = true,
|
||||
scrolloff = 10,
|
||||
pyxversion = 3,
|
||||
|
||||
-- Sets how neovim will display certain whitespace characters in the editor.
|
||||
-- See :help 'list'
|
||||
-- and :help 'listchars'
|
||||
list = true,
|
||||
listchars = { tab = ' ', trail = '·', nbsp = '␣' },
|
||||
|
||||
-- Preview substitutions live, as you type!
|
||||
inccommand = 'split',
|
||||
}
|
||||
|
||||
for k, v in pairs(opts) do
|
||||
|
|
@ -116,12 +125,11 @@ end
|
|||
|
||||
opt.formatoptions = 'l'
|
||||
opt.formatoptions = opt.formatoptions
|
||||
- 'a' -- Auto formatting is BAD.
|
||||
- 't' -- Don't auto format my code. I got linters for that.
|
||||
+ 'c' -- In general, I like it when comments respect textwidth
|
||||
- 'o' -- O and o, don't continue comments
|
||||
+ 'r' -- But do continue when pressing enter.
|
||||
+ 'n' -- Indent past the formatlistpat, not underneath it.
|
||||
+ 'j' -- Auto-remove comments if possible.
|
||||
- '2' -- I'm not in gradeschool anymore
|
||||
|
||||
- 'a' -- Auto formatting is BAD.
|
||||
- 't' -- Don't auto format my code. I got linters for that.
|
||||
+ 'c' -- In general, I like it when comments respect textwidth
|
||||
- 'o' -- O and o, don't continue comments
|
||||
+ 'r' -- But do continue when pressing enter.
|
||||
+ 'n' -- Indent past the formatlistpat, not underneath it.
|
||||
+ 'j' -- Auto-remove comments if possible.
|
||||
- '2' -- I'm not in gradeschool anymore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue