Polishing init.lua.
This commit is contained in:
parent
b23134ce6f
commit
34743fa9d4
1 changed files with 32 additions and 37 deletions
|
@ -14,17 +14,11 @@ vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
-- define plugins
|
-- define plugins
|
||||||
require("lazy").setup {
|
require("lazy").setup {
|
||||||
|
"bitc/vim-bad-whitespace",
|
||||||
{ "tanvirtin/monokai.nvim", config = function() require("monokai").setup() end },
|
{ "tanvirtin/monokai.nvim", config = function() require("monokai").setup() end },
|
||||||
{ "NvChad/nvim-colorizer.lua", config = function() require("colorizer").setup() end },
|
{ "NvChad/nvim-colorizer.lua", config = function() require("colorizer").setup() end },
|
||||||
{ "numToStr/Comment.nvim", config = function() require("Comment").setup() end },
|
{ "numToStr/Comment.nvim", config = function() require("Comment").setup() end },
|
||||||
-- "bitc/vim-bad-whitespace",
|
{ "lewis6991/gitsigns.nvim", config = function() require("gitsigns").setup {
|
||||||
"lewis6991/gitsigns.nvim",
|
|
||||||
"nvim-lualine/lualine.nvim",
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
}
|
|
||||||
|
|
||||||
-- configure plugins, if needed
|
|
||||||
require("gitsigns").setup {
|
|
||||||
signs = {
|
signs = {
|
||||||
add = { text = "▎" },
|
add = { text = "▎" },
|
||||||
change = { text = "▎" },
|
change = { text = "▎" },
|
||||||
|
@ -33,8 +27,8 @@ require("gitsigns").setup {
|
||||||
changedelete = { text = "▎" },
|
changedelete = { text = "▎" },
|
||||||
untracked = { text = "▎" },
|
untracked = { text = "▎" },
|
||||||
},
|
},
|
||||||
}
|
} end },
|
||||||
require("lualine").setup {
|
{ "nvim-lualine/lualine.nvim", config = function() require("lualine").setup {
|
||||||
options = {
|
options = {
|
||||||
component_separators = '',
|
component_separators = '',
|
||||||
icons_enabled = false,
|
icons_enabled = false,
|
||||||
|
@ -49,11 +43,12 @@ require("lualine").setup {
|
||||||
lualine_y = { "progress" },
|
lualine_y = { "progress" },
|
||||||
lualine_z = { "location" },
|
lualine_z = { "location" },
|
||||||
},
|
},
|
||||||
}
|
} end },
|
||||||
require("nvim-treesitter.configs").setup {
|
{ "nvim-treesitter/nvim-treesitter", config = function() require("nvim-treesitter.configs").setup {
|
||||||
build = ":TSUpdate",
|
build = ":TSUpdate",
|
||||||
ensure_installed = { "bash", "python", "terraform", "vim", "yaml" },
|
ensure_installed = { "bash", "python", "terraform", "vim", "yaml" },
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
|
} end },
|
||||||
}
|
}
|
||||||
|
|
||||||
-- modify colorcheme
|
-- modify colorcheme
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue