lazy load blankline
This commit is contained in:
parent
b42f4778f9
commit
4c96c28c2d
12
init.lua
12
init.lua
|
@ -25,19 +25,7 @@ base16(base16.themes["onedark"], true)
|
||||||
|
|
||||||
require "highlights"
|
require "highlights"
|
||||||
|
|
||||||
-- blankline
|
|
||||||
|
|
||||||
g.indentLine_enabled = 1
|
|
||||||
g.indent_blankline_char = "▏"
|
|
||||||
|
|
||||||
g.indent_blankline_filetype_exclude = {"help", "terminal", "dashboard"}
|
|
||||||
g.indent_blankline_buftype_exclude = {"terminal"}
|
|
||||||
|
|
||||||
g.indent_blankline_show_trailing_blankline_indent = false
|
|
||||||
g.indent_blankline_show_first_indent_level = false
|
|
||||||
|
|
||||||
require "mappings"
|
require "mappings"
|
||||||
|
|
||||||
require "telescope-nvim"
|
require "telescope-nvim"
|
||||||
require "file-icons"
|
require "file-icons"
|
||||||
require "gitsigns-nvim"
|
require "gitsigns-nvim"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
local packer = require("packer")
|
local packer = require("packer")
|
||||||
local use = packer.use
|
local use = packer.use
|
||||||
|
|
||||||
-- using { } for using different branch , loading plugin with certain commands etc
|
|
||||||
return packer.startup(
|
return packer.startup(
|
||||||
function()
|
function()
|
||||||
use "wbthomason/packer.nvim"
|
use "wbthomason/packer.nvim"
|
||||||
|
@ -108,7 +107,22 @@ return packer.startup(
|
||||||
use "karb94/neoscroll.nvim"
|
use "karb94/neoscroll.nvim"
|
||||||
use "kdav5758/TrueZen.nvim"
|
use "kdav5758/TrueZen.nvim"
|
||||||
use "folke/which-key.nvim"
|
use "folke/which-key.nvim"
|
||||||
use {"lukas-reineke/indent-blankline.nvim", branch = "lua"}
|
|
||||||
|
use {
|
||||||
|
"lukas-reineke/indent-blankline.nvim",
|
||||||
|
branch = "lua",
|
||||||
|
event = "BufRead",
|
||||||
|
setup = function()
|
||||||
|
vim.g.indentLine_enabled = 1
|
||||||
|
vim.g.indent_blankline_char = "▏"
|
||||||
|
|
||||||
|
vim.g.indent_blankline_filetype_exclude = {"help", "terminal", "dashboard"}
|
||||||
|
vim.g.indent_blankline_buftype_exclude = {"terminal"}
|
||||||
|
|
||||||
|
vim.g.indent_blankline_show_trailing_blankline_indent = false
|
||||||
|
vim.g.indent_blankline_show_first_indent_level = false
|
||||||
|
end
|
||||||
|
}
|
||||||
end,
|
end,
|
||||||
{
|
{
|
||||||
display = {
|
display = {
|
||||||
|
|
Loading…
Reference in New Issue