mirror of
https://github.com/ivuorinen/astronvim_config.git
synced 2026-01-26 03:14:06 +00:00
Fix configs
This commit is contained in:
72
init.lua
72
init.lua
@@ -14,25 +14,11 @@ local config = {
|
||||
pin_plugins = nil, -- nil, true, false (nil will pin plugins on stable only)
|
||||
skip_prompts = false, -- skip prompts about breaking changes
|
||||
show_changelog = true, -- show the changelog after performing an update
|
||||
auto_reload = false, -- automatically reload and sync packer after a successful update
|
||||
auto_quit = false -- automatically quit the current session after a successful update
|
||||
-- remotes = { -- easily add new remotes to track
|
||||
-- ["remote_name"] = "https://remote_url.come/repo.git", -- full remote url
|
||||
-- ["remote2"] = "github_user/repo", -- GitHub user/repo shortcut,
|
||||
-- ["remote3"] = "github_user", -- GitHub user assume AstroNvim fork
|
||||
-- },
|
||||
auto_reload = true, -- automatically reload and sync packer after a successful update
|
||||
auto_quit = true -- automatically quit the current session after a successful update
|
||||
},
|
||||
-- Set colorscheme to use
|
||||
colorscheme = "default_theme",
|
||||
-- Add highlight groups in any theme
|
||||
highlights = {
|
||||
-- init = { -- this table overrides highlights in all themes
|
||||
-- Normal = { bg = "#000000" },
|
||||
-- }
|
||||
-- duskfox = { -- a table of overrides/changes to the duskfox theme
|
||||
-- Normal = { bg = "#000000" },
|
||||
-- },
|
||||
},
|
||||
-- set vim options here (vim.<first_key>.<second_key> = value)
|
||||
options = {
|
||||
opt = {
|
||||
@@ -272,60 +258,6 @@ local config = {
|
||||
paths = {}
|
||||
}
|
||||
},
|
||||
-- CMP Source Priorities
|
||||
-- modify here the priorities of default cmp sources
|
||||
-- higher value == higher priority
|
||||
-- The value can also be set to a boolean for disabling default sources:
|
||||
-- false == disabled
|
||||
-- true == 1000
|
||||
cmp = {
|
||||
source_priority = {
|
||||
nvim_lsp = 1000,
|
||||
luasnip = 750,
|
||||
buffer = 500,
|
||||
path = 250
|
||||
}
|
||||
},
|
||||
-- Customize Heirline options
|
||||
-- heirline = {
|
||||
-- -- Customize different separators between sections
|
||||
-- separators = {
|
||||
-- tab = { "", "" },
|
||||
-- },
|
||||
-- -- Customize colors for each element each element has a `_fg` and a `_bg`
|
||||
-- colors = function(colors)
|
||||
-- colors.git_branch_fg = astronvim.get_hlgroup "Conditional"
|
||||
-- return colors
|
||||
-- end,
|
||||
-- -- Customize attributes of highlighting in Heirline components
|
||||
-- attributes = {
|
||||
-- -- styling choices for each heirline element, check possible attributes with `:h attr-list`
|
||||
-- git_branch = { bold = true }, -- bold the git branch statusline component
|
||||
-- },
|
||||
-- -- Customize if icons should be highlighted
|
||||
-- icon_highlights = {
|
||||
-- breadcrumbs = false, -- LSP symbols in the breadcrumbs
|
||||
-- file_icon = {
|
||||
-- winbar = false, -- Filetype icon in the winbar inactive windows
|
||||
-- statusline = true, -- Filetype icon in the statusline
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- Modify which-key registration (Use this with mappings table in the above.)
|
||||
["which-key"] = {
|
||||
-- Add bindings which show up as group name
|
||||
register = {
|
||||
-- first key is the mode, n == normal mode
|
||||
n = {
|
||||
-- second key is the prefix, <leader> prefixes
|
||||
["<leader>"] = {
|
||||
-- third key is the key to bring up next level and its displayed
|
||||
-- group name in which-key top level menu
|
||||
["b"] = { name = "Buffer" }
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
-- This function is run last and is a good place to configuring
|
||||
-- augroups/autocommands and custom filetypes also this just pure lua so
|
||||
-- anything that doesn't fit in the normal config locations above can go here
|
||||
|
||||
Reference in New Issue
Block a user