Change layout 2
This commit is contained in:
1
private_dot_config/nvim/lua/plugins/barbar.lua
Normal file
1
private_dot_config/nvim/lua/plugins/barbar.lua
Normal file
@@ -0,0 +1 @@
|
||||
require("barbar").setup({})
|
||||
1
private_dot_config/nvim/lua/plugins/comment.lua
Normal file
1
private_dot_config/nvim/lua/plugins/comment.lua
Normal file
@@ -0,0 +1 @@
|
||||
require("Comment").setup({})
|
||||
1
private_dot_config/nvim/lua/plugins/fzf-lua.lua
Normal file
1
private_dot_config/nvim/lua/plugins/fzf-lua.lua
Normal file
@@ -0,0 +1 @@
|
||||
require("fzf-lua").setup({})
|
||||
2
private_dot_config/nvim/lua/plugins/lualine.lua
Normal file
2
private_dot_config/nvim/lua/plugins/lualine.lua
Normal file
@@ -0,0 +1,2 @@
|
||||
local lualine = require('lualine')
|
||||
lualine.setup({})
|
||||
8
private_dot_config/nvim/lua/plugins/nvim-tree.lua
Normal file
8
private_dot_config/nvim/lua/plugins/nvim-tree.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
-- disable netrw at the very start of your init.lua
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
|
||||
-- empty setup using defaults
|
||||
require("nvim-tree").setup()
|
||||
|
||||
vim.g.nvim_tree_respect_buf_cwd = 1
|
||||
20
private_dot_config/nvim/lua/plugins/treesitter.lua
Normal file
20
private_dot_config/nvim/lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
require("nvim-treesitter.configs").setup {
|
||||
ensure_installed = { "bash", "c", "css", "cpp", "go", "html", "java", "javascript", "json", "lua", "markdown", "markdown_inline", "python", "rust", "tsx", "typescript", "yaml" },
|
||||
highlight = {
|
||||
enable = true,
|
||||
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
|
||||
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
|
||||
-- Using this option may slow down your editor, and you may see some duplicate highlights.
|
||||
-- Instead of true it can also be a list of languages
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
init_selection = "gnn", -- set to `false` to disable one of the mappings
|
||||
node_incremental = "grn",
|
||||
scope_incremental = "grc",
|
||||
node_decremental = "grm",
|
||||
},
|
||||
},
|
||||
}
|
||||
22
private_dot_config/nvim/lua/plugins/twilight.lua
Normal file
22
private_dot_config/nvim/lua/plugins/twilight.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
require("twilight").setup({
|
||||
|
||||
dimming = {
|
||||
alpha = 0.3, -- amount of dimming
|
||||
-- we try to get the foreground from the highlight groups or fallback color
|
||||
color = { "Normal", "#ffffff" },
|
||||
term_bg = "#000000", -- if guibg=NONE, this will be used to calculate text color
|
||||
inactive = true, -- when true, other windows will be fully dimmed (unless they contain the same buffer)
|
||||
},
|
||||
context = 7, -- amount of lines we will try to show around the current line
|
||||
treesitter = true, -- use treesitter when available for the filetype
|
||||
-- treesitter is used to automatically expand the visible text,
|
||||
-- but you can further control the types of nodes that should always be fully expanded
|
||||
expand = { -- for treesitter, we we always try to expand to the top-most ancestor with these types
|
||||
"function",
|
||||
"method",
|
||||
"table",
|
||||
"if_statement",
|
||||
},
|
||||
exclude = {}, -- exclude these filetypes
|
||||
|
||||
})
|
||||
1
private_dot_config/nvim/lua/plugins/which-key.lua
Normal file
1
private_dot_config/nvim/lua/plugins/which-key.lua
Normal file
@@ -0,0 +1 @@
|
||||
local wk = require("which-key")
|
||||
Reference in New Issue
Block a user