astro-nvim-v3 - ft: big update
This commit is contained in:
@@ -15,7 +15,7 @@ return {
|
||||
cmp = true, -- enable completion at start
|
||||
diagnostics_mode = 3, -- diagnostic mode on start (0 = off, 1 = no signs/virtual text, 2 = no virtual text, 3 = on)
|
||||
highlighturl = true, -- highlight URLs at start
|
||||
notifications = true, -- enable notifications at start
|
||||
notifications = false, -- enable notifications at start
|
||||
},
|
||||
-- Diagnostics configuration (for vim.diagnostics.config({...})) when diagnostics are on
|
||||
diagnostics = {
|
||||
|
||||
@@ -9,7 +9,7 @@ return {
|
||||
opts = {
|
||||
-- Configuration table of features provided by AstroLSP
|
||||
features = {
|
||||
autoformat = true, -- enable or disable auto formatting on start
|
||||
autoformat = false, -- enable or disable auto formatting on start
|
||||
codelens = true, -- enable/disable codelens refresh on start
|
||||
inlay_hints = true, -- enable/disable inlay hints on start
|
||||
semantic_tokens = true, -- enable/disable semantic token highlighting
|
||||
|
||||
@@ -5,9 +5,9 @@ return {
|
||||
opts = {
|
||||
-- your config goes here
|
||||
-- or just leave it empty :)
|
||||
enabled = false, -- start auto-save when the plugin is loaded (i.e. when your package manager loads it)
|
||||
enabled = true, -- start auto-save when the plugin is loaded (i.e. when your package manager loads it)
|
||||
execution_message = {
|
||||
enabled = false,
|
||||
enabled = true,
|
||||
message = function() -- message to print on save
|
||||
return ("AutoSave: saved at " .. vim.fn.strftime "%H:%M:%S")
|
||||
end,
|
||||
@@ -16,7 +16,7 @@ return {
|
||||
},
|
||||
trigger_events = { -- See :h events
|
||||
immediate_save = { "BufLeave", "FocusLost" }, -- vim events that trigger an immediate save
|
||||
defer_save = { "InsertLeave", "TextChanged" }, -- vim events that trigger a deferred save (saves after `debounce_delay`)
|
||||
defer_save = {"TextChanged" }, -- vim events that trigger a deferred save (saves after `debounce_delay`)
|
||||
cancel_defered_save = { "InsertEnter" }, -- vim events that cancel a pending deferred save
|
||||
},
|
||||
-- function that takes the buffer handle and determines whether to save the current buffer or not
|
||||
@@ -35,6 +35,6 @@ return {
|
||||
write_all_buffers = false, -- write all buffers when the current one meets `condition`
|
||||
noautocmd = false, -- do not execute autocmds when saving
|
||||
lockmarks = false, -- lock marks when saving, see `:h lockmarks` for more details
|
||||
debounce_delay = 500, -- delay after which a pending save is executed
|
||||
debounce_delay = 10000, -- delay after which a pending save is executed
|
||||
},
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ return {
|
||||
window = {
|
||||
completion = {
|
||||
winhighlight = "Normal:Pmenu,CursorLine:PmenuSel,Search:None",
|
||||
border = "none",
|
||||
-- border = "none",
|
||||
side_padding = 0,
|
||||
},
|
||||
},
|
||||
@@ -68,6 +68,9 @@ return {
|
||||
end
|
||||
end, { "i", "s" }),
|
||||
},
|
||||
experimental = {
|
||||
ghost_text = false, -- this feature conflict with copilot.vim's preview.
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
if true then return {} end
|
||||
|
||||
return {
|
||||
"kmontocam/nvim-conda",
|
||||
|
||||
@@ -160,6 +160,12 @@ local banners = {
|
||||
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠛⠙⠛⠙⠛⠛⠋⠛⠋⠛⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
|
||||
},
|
||||
[10] = {
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ __ ]],
|
||||
[[ ___ ___ ___ __ __ /\_\ ___ ___ ]],
|
||||
[[ / _ `\ / __`\ / __`\/\ \/\ \\/\ \ / __` __`\ ]],
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
-- Plugins to disable
|
||||
return {
|
||||
{ "nvim-neo-tree/neo-tree.nvim", enabled = true },
|
||||
{ "lukas-reineke/indent-blankline.nvim", enabled = true},
|
||||
{ "s1n7ax/nvim-window-picker", enabled = false },
|
||||
{ "akinsho/toggleterm.nvim", enabled = false },
|
||||
{ "NvChad/nvim-colorizer.lua", enabled = false },
|
||||
{ "catppuccin/nvim", name = "catppuccin", enabled = false},
|
||||
|
||||
{ "catppuccin/nvim", name = "catppuccin", enabled = false },
|
||||
{ "rebelot/kanagawa.nvim", enabled = false },
|
||||
{ "folke/tokyonight.nvim", enabled = false },
|
||||
{ "f4z3r/gruvbox-material.nvim", name = "gruvbox-material", enabled = false },
|
||||
{ "b0o/SchemaStore.nvim", enabled = false },
|
||||
|
||||
{ "ray-x/lsp_signature.nvim", enabled = false },
|
||||
{ "kmontocam/nvim-conda", enabled = false },
|
||||
{ "NMAC427/guess-indent.nvim", enabled = false },
|
||||
{ "lukas-reineke/indent-blankline.nvim", enabled = false },
|
||||
{ "chipsenkbeil/distant.nvim", enabled = false },
|
||||
{ "gen740/SmoothCursor.nvim", enabled = false },
|
||||
|
||||
-- { "hrsh7th/nvim-cmp", enabled = false },
|
||||
}
|
||||
|
||||
-- if true then return {} end
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
if true then return {} end
|
||||
|
||||
-- NOTE: control remote pc
|
||||
|
||||
return {
|
||||
"chipsenkbeil/distant.nvim",
|
||||
branch = "v0.3",
|
||||
|
||||
@@ -5,7 +5,15 @@ return {
|
||||
"ray-x/lsp_signature.nvim",
|
||||
event = "User AstroFile",
|
||||
config = function()
|
||||
require("lsp_signature").setup { bind = true, handler_opts = { border = "rounded" }, hint_enable = false }
|
||||
require("lsp_signature").setup {
|
||||
bind = true,
|
||||
handler_opts = { border = "rounded" },
|
||||
hint_enable = true,
|
||||
|
||||
hint_prefix = "🐼 ",
|
||||
debug = true,
|
||||
verbose = true,
|
||||
}
|
||||
end,
|
||||
},
|
||||
-- Additional features for Clangd
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
if true then return {} end
|
||||
|
||||
return {
|
||||
"folke/todo-comments.nvim",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
|
||||
@@ -4,7 +4,7 @@ return {
|
||||
"goolord/alpha-nvim",
|
||||
opts = function(_, opts)
|
||||
-- customize the dashboard header
|
||||
opts.section.header.val = require("plugins.configs.ui.alpha")[3]
|
||||
opts.section.header.val = require("plugins.configs.ui.alpha")[10]
|
||||
opts.section.buttons.val = {}
|
||||
end,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user