add editor config

pull/833/head
Tim Redband 1 year ago
parent 4c8dd5cc90
commit 3224136dab

@ -0,0 +1,15 @@
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true
#### Core EditorConfig Options ####
[*]
end_of_line = lf
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
tab_width = 4
trim_trailing_whitespace = true
[*.{yml,yaml,lua,json}]
indent_size = 2

1
.gitattributes vendored

@ -0,0 +1 @@
* text=auto eol=lf

@ -162,6 +162,7 @@ vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
vim.opt.shell = 'cmd.exe'
vim.opt.autoread = true
vim.opt.expandtab = true
vim.opt.tabstop = 4
-- Diagnostic keymaps
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous [D]iagnostic message' })
@ -747,7 +748,12 @@ require('lazy').setup({
},
-- Highlight todo, notes, etc in comments
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
{
'folke/todo-comments.nvim',
event = 'VimEnter',
dependencies = { 'nvim-lua/plenary.nvim' },
opts = { signs = false },
},
{ -- Collection of various small independent plugins/modules
'echasnovski/mini.nvim',

Loading…
Cancel
Save