Initial commit
This commit is contained in:
8
lua/plugins/config/blankline.lua
Normal file
8
lua/plugins/config/blankline.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
require("indent_blankline").setup {
|
||||
indentLine_enabled = 1,
|
||||
char = "▏",
|
||||
filetype_exclude = {"help", "terminal", "dashboard", "nvimtree"},
|
||||
buftype_exclude = {"terminal"},
|
||||
show_trailing_blankline_indent = false,
|
||||
show_first_indent_level = false
|
||||
}
|
||||
4
lua/plugins/config/bufdel.lua
Normal file
4
lua/plugins/config/bufdel.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
require("bufdel").setup {
|
||||
next = "alternate",
|
||||
quit = false
|
||||
}
|
||||
7
lua/plugins/config/bufferline.lua
Normal file
7
lua/plugins/config/bufferline.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
require("bufferline").setup {
|
||||
options = {
|
||||
offsets = {{ filetype = "NvimTree", text = "", padding = 1 }},
|
||||
tab_size = 20,
|
||||
separator_style = "thin"
|
||||
}
|
||||
}
|
||||
12
lua/plugins/config/colorizer.lua
Normal file
12
lua/plugins/config/colorizer.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
require("colorizer").setup(
|
||||
{ "*" },
|
||||
{
|
||||
RGB = true,
|
||||
RRGGBB = true,
|
||||
names = true,
|
||||
RRGGBBAA = true,
|
||||
rgb_fn = true,
|
||||
hsl_fn = true,
|
||||
css = true,
|
||||
css_fn = true
|
||||
})
|
||||
10
lua/plugins/config/lualine.lua
Normal file
10
lua/plugins/config/lualine.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
require("lualine").setup {
|
||||
options = {
|
||||
theme = "tokyonight"
|
||||
},
|
||||
extensions = {
|
||||
"nvim-tree",
|
||||
"toggleterm",
|
||||
"quickfix"
|
||||
}
|
||||
}
|
||||
19
lua/plugins/config/nvimtree.lua
Normal file
19
lua/plugins/config/nvimtree.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
local g = vim.g
|
||||
|
||||
g.nvim_tree_indent_markers = 1
|
||||
g.nvim_tree_highlight_opened_files = 1
|
||||
g.nvim_tree_highlight_opened_files = 1
|
||||
g.nvim_tree_group_empty = 1
|
||||
g.nvim_tree_root_folder_modifier = table.concat { ":t:gs?$?/..", string.rep(" ", 1000), "?:gs?^??" }
|
||||
|
||||
require("nvim-tree").setup {
|
||||
disable_netrw = true,
|
||||
ignore_ft_on_setup = { "dashboard" },
|
||||
hijack_cursor = true,
|
||||
git = {
|
||||
ignore = false
|
||||
},
|
||||
view = {
|
||||
hide_root_folder = true
|
||||
}
|
||||
}
|
||||
7
lua/plugins/config/telescope.lua
Normal file
7
lua/plugins/config/telescope.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
local telescope = require("telescope")
|
||||
|
||||
telescope.setup {
|
||||
file_ignore_patterns = { "node_modules" }
|
||||
}
|
||||
|
||||
telescope.load_extension("fzf")
|
||||
7
lua/plugins/config/toggleterm.lua
Normal file
7
lua/plugins/config/toggleterm.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
require("toggleterm").setup {
|
||||
open_mapping = [[<C-t>]],
|
||||
direction = "float",
|
||||
float_opts = {
|
||||
border = "curved"
|
||||
}
|
||||
}
|
||||
2
lua/plugins/config/tokyonight.lua
Normal file
2
lua/plugins/config/tokyonight.lua
Normal file
@@ -0,0 +1,2 @@
|
||||
vim.g.tokyonight_style = "night"
|
||||
vim.cmd[[colorscheme tokyonight]]
|
||||
19
lua/plugins/config/treesitter.lua
Normal file
19
lua/plugins/config/treesitter.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
require("nvim-treesitter.configs").setup {
|
||||
ensure_installed = {
|
||||
"lua",
|
||||
"typescript",
|
||||
"tsx",
|
||||
"json",
|
||||
"javascript"
|
||||
},
|
||||
highlight = {
|
||||
enable = true,
|
||||
use_languagetree = true
|
||||
},
|
||||
matchup = {
|
||||
enable = true
|
||||
},
|
||||
context_commentstring = {
|
||||
enable = true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user