update blankline and formatter.

This commit is contained in:
juan 2021-09-14 19:58:30 +08:00
parent 44eda22d9b
commit bff6f5e613
3 changed files with 139 additions and 136 deletions

View File

@ -1,6 +1,6 @@
-- Core Settings
local opt = vim.o
local global = vim.g
-- look and feel
opt.relativenumber = true
@ -9,6 +9,7 @@ opt.showmode = false
opt.scrolloff = 10
opt.ruler = true
opt.termguicolors = true
opt.tabstop = 2
opt.shiftwidth = 2
-- controlling
@ -19,3 +20,7 @@ opt.mouse = "i"
-- completion for lua
opt.completeopt = 'menuone,noselect'
-- neoformat settings.
global.neoformat_basic_format_align = 1
global.neoformat_basic_format_trim = 1

View File

@ -1,7 +1,5 @@
require("indent_blankline").setup {
buftype_exclude = {"terminal", "help", "packer"},
indent_blankline_buftype_exclude = {"terminal"},
indentLine_enabled = 1,
indent_blankline_char = "",
char = "",
show_current_context = true
}