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 -- Core Settings
local opt = vim.o local opt = vim.o
local global = vim.g
-- look and feel -- look and feel
opt.relativenumber = true opt.relativenumber = true
@ -9,6 +9,7 @@ opt.showmode = false
opt.scrolloff = 10 opt.scrolloff = 10
opt.ruler = true opt.ruler = true
opt.termguicolors = true opt.termguicolors = true
opt.tabstop = 2
opt.shiftwidth = 2 opt.shiftwidth = 2
-- controlling -- controlling
@ -19,3 +20,7 @@ opt.mouse = "i"
-- completion for lua -- completion for lua
opt.completeopt = 'menuone,noselect' 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 { require("indent_blankline").setup {
buftype_exclude = {"terminal", "help", "packer"}, buftype_exclude = {"terminal", "help", "packer"},
indent_blankline_buftype_exclude = {"terminal"}, char = "",
indentLine_enabled = 1,
indent_blankline_char = "",
show_current_context = true show_current_context = true
} }