lua format

This commit is contained in:
2022-03-16 22:56:51 +01:00
parent 4c543d7f44
commit c3deaa45c6
17 changed files with 343 additions and 325 deletions

View File

@@ -1,12 +1,12 @@
local opt = vim.opt -- to set options
opt.listchars:append("eol:↴")
local opt = vim.opt -- to set options
opt.listchars:append('eol:↴')
-- opt.listchars:append("space: ")
opt.listchars:append("trail: ")
opt.listchars:append("tab:→ ")
opt.listchars:append('trail: ')
opt.listchars:append('tab:→ ')
require("indent_blankline").setup {
require('indent_blankline').setup({
show_end_of_line = true,
use_treesitter = true,
show_current_context = true,
context_patterns = {'class', 'function', 'method', 'block', '^if', '^for', '^while'},
}
context_patterns = { 'class', 'function', 'method', 'block', '^if', '^for', '^while' },
})