Fixed up neovim config
This commit is contained in:
parent
1bf00f5b36
commit
b94efa8b75
5 changed files with 9 additions and 28 deletions
|
@ -1 +0,0 @@
|
||||||
require("Comment").setup()
|
|
|
@ -1,8 +1,8 @@
|
||||||
require("indent_blankline").setup({
|
require("indent_blankline").setup {
|
||||||
space_char_blankline = " ",
|
space_char_blankline = " ",
|
||||||
show_current_context = true,
|
show_current_context = true,
|
||||||
show_current_context_start = true,
|
show_current_context_start = true,
|
||||||
use_treesitter = true,
|
use_treesitter = true,
|
||||||
use_treesitter_scope = true,
|
use_treesitter_scope = true,
|
||||||
char = "▎",
|
char = "▎",
|
||||||
})
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
require("nvim-treesitter.configs").setup({
|
require("nvim-treesitter.configs").setup {
|
||||||
rainbow = {
|
rainbow = {
|
||||||
enable = true,
|
enable = true,
|
||||||
extended_mode = true,
|
extended_mode = true,
|
||||||
|
@ -22,10 +22,6 @@ require("nvim-treesitter.configs").setup({
|
||||||
node_decremental = "<TAB>",
|
node_decremental = "<TAB>",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
|
||||||
-- Setup treesitter
|
|
||||||
local ts = require("nvim-treesitter.configs")
|
|
||||||
ts.setup({
|
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"c",
|
"c",
|
||||||
"css",
|
"css",
|
||||||
|
@ -41,5 +37,5 @@ ts.setup({
|
||||||
"vim",
|
"vim",
|
||||||
"toml",
|
"toml",
|
||||||
},
|
},
|
||||||
highlight = { enable = true },
|
highlight = { enable = true }
|
||||||
})
|
}
|
||||||
|
|
|
@ -13,10 +13,6 @@ return packer.startup({ function(use)
|
||||||
'romgrk/barbar.nvim',
|
'romgrk/barbar.nvim',
|
||||||
requires = { 'kyazdani42/nvim-web-devicons' }, config = config("barbar")
|
requires = { 'kyazdani42/nvim-web-devicons' }, config = config("barbar")
|
||||||
}
|
}
|
||||||
use {
|
|
||||||
"numToStr/Comment.nvim",
|
|
||||||
config = config("comment")
|
|
||||||
}
|
|
||||||
use "xolox/vim-session"
|
use "xolox/vim-session"
|
||||||
|
|
||||||
-- Theming
|
-- Theming
|
||||||
|
|
|
@ -74,12 +74,6 @@ end
|
||||||
time([[try_loadstring definition]], false)
|
time([[try_loadstring definition]], false)
|
||||||
time([[Defining packer_plugins]], true)
|
time([[Defining packer_plugins]], true)
|
||||||
_G.packer_plugins = {
|
_G.packer_plugins = {
|
||||||
["Comment.nvim"] = {
|
|
||||||
config = { 'require "config.comment"' },
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/quadradical/.local/share/nvim/site/pack/packer/start/Comment.nvim",
|
|
||||||
url = "https://github.com/numToStr/Comment.nvim"
|
|
||||||
},
|
|
||||||
["barbar.nvim"] = {
|
["barbar.nvim"] = {
|
||||||
config = { 'require "config.barbar"' },
|
config = { 'require "config.barbar"' },
|
||||||
loaded = true,
|
loaded = true,
|
||||||
|
@ -187,6 +181,10 @@ time([[Defining packer_plugins]], false)
|
||||||
time([[Config for nvim-tree.lua]], true)
|
time([[Config for nvim-tree.lua]], true)
|
||||||
require "config.nvim-tree"
|
require "config.nvim-tree"
|
||||||
time([[Config for nvim-tree.lua]], false)
|
time([[Config for nvim-tree.lua]], false)
|
||||||
|
-- Config for: toggleterm.nvim
|
||||||
|
time([[Config for toggleterm.nvim]], true)
|
||||||
|
require "config.toggleterm"
|
||||||
|
time([[Config for toggleterm.nvim]], false)
|
||||||
-- Config for: nvim-treesitter
|
-- Config for: nvim-treesitter
|
||||||
time([[Config for nvim-treesitter]], true)
|
time([[Config for nvim-treesitter]], true)
|
||||||
require "config.treesitter"
|
require "config.treesitter"
|
||||||
|
@ -195,10 +193,6 @@ time([[Config for nvim-treesitter]], false)
|
||||||
time([[Config for indent-blankline.nvim]], true)
|
time([[Config for indent-blankline.nvim]], true)
|
||||||
require "config.indent-blankline"
|
require "config.indent-blankline"
|
||||||
time([[Config for indent-blankline.nvim]], false)
|
time([[Config for indent-blankline.nvim]], false)
|
||||||
-- Config for: Comment.nvim
|
|
||||||
time([[Config for Comment.nvim]], true)
|
|
||||||
require "config.comment"
|
|
||||||
time([[Config for Comment.nvim]], false)
|
|
||||||
-- Config for: lualine.nvim
|
-- Config for: lualine.nvim
|
||||||
time([[Config for lualine.nvim]], true)
|
time([[Config for lualine.nvim]], true)
|
||||||
require "config.lualine"
|
require "config.lualine"
|
||||||
|
@ -219,10 +213,6 @@ time([[Config for novim-mode]], false)
|
||||||
time([[Config for coc.nvim]], true)
|
time([[Config for coc.nvim]], true)
|
||||||
require "config.coc"
|
require "config.coc"
|
||||||
time([[Config for coc.nvim]], false)
|
time([[Config for coc.nvim]], false)
|
||||||
-- Config for: toggleterm.nvim
|
|
||||||
time([[Config for toggleterm.nvim]], true)
|
|
||||||
require "config.toggleterm"
|
|
||||||
time([[Config for toggleterm.nvim]], false)
|
|
||||||
-- Config for: dashboard-nvim
|
-- Config for: dashboard-nvim
|
||||||
time([[Config for dashboard-nvim]], true)
|
time([[Config for dashboard-nvim]], true)
|
||||||
require "config.dashboard"
|
require "config.dashboard"
|
||||||
|
|
Reference in a new issue