Update configuration
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
local opt = vim.opt
|
||||
local g = vim.g
|
||||
|
||||
-- Disable
|
||||
g.loaded = 1
|
||||
-- Disable netrw
|
||||
g.loaded_netrw = 1
|
||||
g.loaded_netrwPlugin = 1
|
||||
|
||||
-- Settings
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
require("bufferline").setup {
|
||||
maximum_length = 25
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
vim.g.catppuccin_flavour = "mocha"
|
||||
|
||||
require("catppuccin").setup {
|
||||
term_colors = true,
|
||||
styles = {
|
||||
conditionals = { "italic", "bold" },
|
||||
loops = { "italic", "bold" },
|
||||
functions = { "italic", "bold" },
|
||||
keywords = { "italic", "bold" },
|
||||
strings = { "bold" },
|
||||
variables = { "bold" },
|
||||
numbers = { "bold" },
|
||||
booleans = { "bold" },
|
||||
properties = { "italic" },
|
||||
types = { "italic", "bold" }
|
||||
},
|
||||
integrations = {
|
||||
barbar = true,
|
||||
gitsigns = true,
|
||||
cmp = true,
|
||||
nvimtree = true,
|
||||
treesitter_context = true,
|
||||
treesitter = true,
|
||||
symbols_outline = true,
|
||||
telescope = true,
|
||||
lsp_trouble = true,
|
||||
which_key = true,
|
||||
|
||||
indent_blankline = {
|
||||
enabled = true,
|
||||
colored_indent_levels = false
|
||||
},
|
||||
|
||||
native_lsp = {
|
||||
enabled = true,
|
||||
virtual_text = {
|
||||
errors = { "italic" },
|
||||
hints = { "italic" },
|
||||
warnings = { "italic" },
|
||||
information = { "italic" }
|
||||
},
|
||||
underlines = {
|
||||
errors = { "underline" },
|
||||
hints = { "underline" },
|
||||
warnings = { "underline" },
|
||||
information = { "underline" }
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
-- vim.cmd [[colorscheme catppuccin]]
|
||||
@@ -1,13 +1,11 @@
|
||||
require("colorizer").setup(
|
||||
{ "*" },
|
||||
{
|
||||
RGB = true,
|
||||
RRGGBB = true,
|
||||
names = true,
|
||||
require("colorizer").setup {
|
||||
user_default_options = {
|
||||
RRGGBBAA = true,
|
||||
AARRGGBB = true,
|
||||
rgb_fn = true,
|
||||
hsl_fn = true,
|
||||
css = true,
|
||||
css_fn = true
|
||||
css_fn = true,
|
||||
sass = { enable = true }
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
require("lsp-setup").setup {
|
||||
servers = {
|
||||
sumneko_lua = {}
|
||||
}
|
||||
}
|
||||
@@ -1,13 +1,14 @@
|
||||
require("lualine").setup {
|
||||
options = {
|
||||
-- theme = "catppuccin"
|
||||
theme = "tokyonight"
|
||||
},
|
||||
|
||||
extensions = {
|
||||
"nvim-tree",
|
||||
"fzf",
|
||||
"toggleterm",
|
||||
"symbols-outline"
|
||||
"nvim-dap-ui",
|
||||
"nvim-tree",
|
||||
"quickfix",
|
||||
"symbols-outline",
|
||||
"toggleterm"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,8 @@ require("nvim-tree").setup {
|
||||
},
|
||||
|
||||
diagnostics = {
|
||||
enable = true
|
||||
enable = true,
|
||||
show_on_dirs = true
|
||||
},
|
||||
|
||||
filters = {
|
||||
|
||||
@@ -1,17 +1,10 @@
|
||||
require("tokyonight").setup {
|
||||
style = "night",
|
||||
terminal_colors = true,
|
||||
styles = {
|
||||
conditionals = { italic = true, bold = true },
|
||||
loops = { italic = true, bold = true },
|
||||
functions = { italic = true, bold = true },
|
||||
comments = { italic = true },
|
||||
keywords = { italic = true, bold = true },
|
||||
strings = { bold = true },
|
||||
variables = { bold = true },
|
||||
numbers = { bold = true },
|
||||
booleans = { bold = true },
|
||||
properties = { italic = true },
|
||||
types = { italic = true, bold = true }
|
||||
functions = { italic = true, bold = true },
|
||||
variables = { italic = true, bold = true }
|
||||
},
|
||||
lualine_bold = true
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
require("nvim-treesitter.configs").setup {
|
||||
ensure_installed = { "lua" },
|
||||
ensure_installed = { "vim", "lua", "typescript" },
|
||||
auto_install = false,
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false
|
||||
|
||||
@@ -31,14 +31,6 @@ return packer.startup(function(use)
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"catppuccin/nvim",
|
||||
as = "catppuccin",
|
||||
config = function()
|
||||
require("plugins.config.catppuccin")
|
||||
end
|
||||
}
|
||||
|
||||
use "kyazdani42/nvim-web-devicons"
|
||||
|
||||
use {
|
||||
@@ -51,10 +43,7 @@ return packer.startup(function(use)
|
||||
|
||||
use {
|
||||
"romgrk/barbar.nvim",
|
||||
requires = "kyazdani42/nvim-web-devicons",
|
||||
config = function()
|
||||
require("plugins.config.barbar")
|
||||
end
|
||||
requires = "kyazdani42/nvim-web-devicons"
|
||||
}
|
||||
|
||||
use {
|
||||
@@ -74,9 +63,9 @@ return packer.startup(function(use)
|
||||
}
|
||||
|
||||
use {
|
||||
"norcalli/nvim-colorizer.lua",
|
||||
"NvChad/nvim-colorizer.lua",
|
||||
config = function()
|
||||
require("plugins.config.colorizer")
|
||||
require("colorizer").setup()
|
||||
end
|
||||
}
|
||||
|
||||
@@ -93,123 +82,4 @@ return packer.startup(function(use)
|
||||
require("plugins.config.blankline")
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"numToStr/Comment.nvim",
|
||||
config = function()
|
||||
require("Comment").setup()
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"akinsho/toggleterm.nvim",
|
||||
tag = "*",
|
||||
config = function()
|
||||
require("plugins.config.toggleterm")
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"goolord/alpha-nvim",
|
||||
requires = "kyazdani42/nvim-web-devicons",
|
||||
config = function()
|
||||
require("alpha").setup(require("alpha.themes.dashboard").config)
|
||||
end
|
||||
}
|
||||
|
||||
-- Telescope
|
||||
use {
|
||||
"nvim-telescope/telescope-fzf-native.nvim",
|
||||
run = "make"
|
||||
}
|
||||
|
||||
use {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
requires = "nvim-lua/plenary.nvim",
|
||||
config = function()
|
||||
require("plugins.config.telescope")
|
||||
end
|
||||
}
|
||||
|
||||
-- LSP
|
||||
use {
|
||||
"junnplus/nvim-lsp-setup",
|
||||
requires = {
|
||||
"neovim/nvim-lspconfig",
|
||||
"williamboman/mason.nvim",
|
||||
"williamboman/mason-lspconfig.nvim"
|
||||
},
|
||||
config = function()
|
||||
require("plugins.config.lspsetup")
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"hrsh7th/nvim-cmp",
|
||||
requires = {
|
||||
"L3MON4D3/LuaSnip",
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"hrsh7th/cmp-path",
|
||||
"hrsh7th/cmp-buffer",
|
||||
"saadparwaiz1/cmp_luasnip",
|
||||
"hrsh7th/cmp-cmdline"
|
||||
},
|
||||
config = function()
|
||||
require("plugins.config.cmp")
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"rafamadriz/friendly-snippets",
|
||||
event = "InsertCharPre"
|
||||
}
|
||||
|
||||
use {
|
||||
"ray-x/lsp_signature.nvim",
|
||||
after = "nvim-lspconfig",
|
||||
config = function()
|
||||
require("lsp_signature").setup()
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"windwp/nvim-autopairs",
|
||||
config = function()
|
||||
require("nvim-autopairs").setup()
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"folke/trouble.nvim",
|
||||
requires = "kyazdani42/nvim-web-devicons",
|
||||
config = function()
|
||||
require("trouble").setup()
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"folke/todo-comments.nvim",
|
||||
requires = "nvim-lua/plenary.nvim",
|
||||
config = function()
|
||||
require("todo-comments").setup()
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"simrat39/symbols-outline.nvim",
|
||||
config = function()
|
||||
require("symbols-outline").setup()
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"folke/which-key.nvim",
|
||||
config = function()
|
||||
require("plugins.config.whichkey")
|
||||
end
|
||||
}
|
||||
|
||||
if packer_bootstrap then
|
||||
require("packer").sync()
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user