Initial commit

This commit is contained in:
Saeed Afzal
2022-03-09 12:31:08 +00:00
commit 847914b7ea
18 changed files with 349 additions and 0 deletions

View 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
}

View File

@@ -0,0 +1,4 @@
require("bufdel").setup {
next = "alternate",
quit = false
}

View File

@@ -0,0 +1,7 @@
require("bufferline").setup {
options = {
offsets = {{ filetype = "NvimTree", text = "", padding = 1 }},
tab_size = 20,
separator_style = "thin"
}
}

View 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
})

View File

@@ -0,0 +1,10 @@
require("lualine").setup {
options = {
theme = "tokyonight"
},
extensions = {
"nvim-tree",
"toggleterm",
"quickfix"
}
}

View 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
}
}

View File

@@ -0,0 +1,7 @@
local telescope = require("telescope")
telescope.setup {
file_ignore_patterns = { "node_modules" }
}
telescope.load_extension("fzf")

View File

@@ -0,0 +1,7 @@
require("toggleterm").setup {
open_mapping = [[<C-t>]],
direction = "float",
float_opts = {
border = "curved"
}
}

View File

@@ -0,0 +1,2 @@
vim.g.tokyonight_style = "night"
vim.cmd[[colorscheme tokyonight]]

View 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
}
}