rm indenline and use blankline!

This commit is contained in:
siduck76 2021-03-26 10:21:32 +05:30
parent 9b9718f46b
commit b05103da4d
3 changed files with 26 additions and 12 deletions

View File

@ -1,4 +1,4 @@
-- load plugins
-- load all plugins
require("pluginsList.lua")
require("web-devicons.lua")
@ -8,27 +8,37 @@ require("bufferline.lua")
require("statusline.lua")
require("telescope-nvim.lua")
require("gitsigns.lua")
require "colorizer".setup()
-- lsp
require("nvim-lspconfig.lua")
require("nvim-compe.lua")
require("gitsigns.lua")
require "colorizer".setup()
local cmd = vim.cmd
local g = vim.g
local indent = 2
g.mapleader = " "
g.auto_save = 1
-- colorscheme
cmd "colorscheme base16-onedark"
cmd "syntax enable"
cmd "syntax on"
g.auto_save = 1
g.indentLine_enabled = 1
g.indentLine_char_list = {""}
-- blankline
g.mapleader = " "
local indent = 2
g.indentLine_enabled = 1
g.indent_blankline_char = ""
cmd("hi IndentBlanklineChar guifg=#373b43")
g.indent_blankline_filetype_exclude = {"help", "terminal"}
g.indent_blankline_show_trailing_blankline_indent = false
g.indent_blankline_show_first_indent_level = false
require("treesitter.lua")
require("mappings.lua")
@ -56,13 +66,13 @@ cmd("hi NvimTreeIndentMarker guifg=#545862")
cmd("hi Normal guibg=NONE ctermbg=NONE")
require("nvim-autopairs").setup()
require("lspkind").init(
{
File = ""
}
)
-- nvimTree bg color
cmd("hi CustomExplorerBg guibg=#242830")
vim.api.nvim_exec(

View File

@ -14,7 +14,6 @@ return require("packer").startup(
use {"nvim-treesitter/nvim-treesitter"}
use {"chriskempson/base16-vim"}
use {"norcalli/nvim-colorizer.lua"}
use { 'Yggdroot/indentLine'}
use {"ryanoasis/vim-devicons"}
use {"sbdchd/neoformat"}
use {"neovim/nvim-lspconfig"}
@ -26,5 +25,6 @@ return require("packer").startup(
use {"nvim-telescope/telescope.nvim"}
use {"nvim-telescope/telescope-media-files.nvim"}
use {"nvim-lua/popup.nvim"}
use {"lukas-reineke/indent-blankline.nvim", branch = 'lua'}
end
)

View File

@ -44,6 +44,10 @@ _G.packer_plugins = {
loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/gitsigns.nvim"
},
["indent-blankline.nvim"] = {
loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim"
},
indentLine = {
loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/indentLine"