fix mason
This commit is contained in:
parent
4027ba20a2
commit
dc788b1c00
8
plugins/heirline.lua
Normal file
8
plugins/heirline.lua
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
return {
|
||||||
|
"rebelot/heirline.nvim",
|
||||||
|
opts = function(_, opts)
|
||||||
|
opts.tabline[2] =
|
||||||
|
astronvim.status.heirline.make_buflist(astronvim.status.component.tabline_file_info { close_button = false })
|
||||||
|
return opts
|
||||||
|
end,
|
||||||
|
}
|
@ -1,9 +1,10 @@
|
|||||||
return { -- overrides `require("mason-null-ls").setup(...)`
|
return { -- overrides `require("mason-null-ls").setup(...)`
|
||||||
"jay-babu/mason-null-ls.nvim",
|
"jay-babu/mason-null-ls.nvim",
|
||||||
config = function(plugin, opts)
|
config = function(_, opts)
|
||||||
plugin.default_config(opts) -- use the default configuration function
|
local mason_null_ls = require("mason-null-ls")
|
||||||
local null_ls = require "null-ls"
|
local null_ls = require "null-ls"
|
||||||
require("mason-null-ls").setup_handlers { -- setup custom handlers
|
mason_null_ls.setup(opts)
|
||||||
|
mason_null_ls.setup_handlers { -- setup custom handlers
|
||||||
prettier = function()
|
prettier = function()
|
||||||
require("null-ls").register(null_ls.builtins.formatting.prettier.with {
|
require("null-ls").register(null_ls.builtins.formatting.prettier.with {
|
||||||
condition = function(utils)
|
condition = function(utils)
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
return {
|
return {
|
||||||
"jay-babu/mason-nvim-dap.nvim",
|
"jay-babu/mason-nvim-dap.nvim",
|
||||||
config = function(self, opts)
|
config = function(_, opts)
|
||||||
self.default_config(opts) -- run default AstroNvim mason-nvim-dap config function
|
|
||||||
|
|
||||||
-- do more configuration as needed
|
-- do more configuration as needed
|
||||||
local mason_nvim_dap = require "mason-nvim-dap"
|
local mason_nvim_dap = require "mason-nvim-dap"
|
||||||
|
mason_nvim_dap.setup(opts)
|
||||||
mason_nvim_dap.setup_handlers {
|
mason_nvim_dap.setup_handlers {
|
||||||
python = function(source_name)
|
python = function(source_name)
|
||||||
local dap = require "dap"
|
local dap = require "dap"
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
return {
|
|
||||||
"folke/which-key.nvim",
|
|
||||||
config = function(plugin, opts)
|
|
||||||
plugin.default_config(opts)
|
|
||||||
local wk = require "which-key"
|
|
||||||
wk.register({
|
|
||||||
b = { name = "Buffer" },
|
|
||||||
}, {
|
|
||||||
mode = "n",
|
|
||||||
prefix = "<leader>",
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
}
|
|
@ -1,12 +1,12 @@
|
|||||||
return {
|
return {
|
||||||
remote = "origin", -- remote to use
|
--remote = "origin", -- remote to use
|
||||||
--channel = "stable", -- "stable" or "nightly"
|
--channel = "stable", -- "stable" or "nightly"
|
||||||
channel = "nightly", -- "stable" or "nightly"
|
channel = "nightly", -- "stable" or "nightly"
|
||||||
--version = "v2.11.7", -- "latest", tag name, or regex search like "v1.*" to only do updates before v2 (STABLE ONLY)
|
--version = "v2.11.7", -- "latest", tag name, or regex search like "v1.*" to only do updates before v2 (STABLE ONLY)
|
||||||
--version="latest",
|
--version="latest",
|
||||||
branch = "v3", -- branch name (NIGHTLY ONLY)
|
branch = "v3", -- branch name (NIGHTLY ONLY)
|
||||||
--commit = nil, -- commit hash (NIGHTLY ONLY)
|
--commit = nil, -- commit hash (NIGHTLY ONLY)
|
||||||
pin_plugins = nil, -- nil, true, false (nil will pin plugins on stable only)
|
--pin_plugins = nil, -- nil, true, false (nil will pin plugins on stable only)
|
||||||
skip_prompts = false, -- skip prompts about breaking changes
|
skip_prompts = false, -- skip prompts about breaking changes
|
||||||
show_changelog = true, -- show the changelog after performing an update
|
show_changelog = true, -- show the changelog after performing an update
|
||||||
auto_reload = false, -- automatically reload and sync packer after a successful update
|
auto_reload = false, -- automatically reload and sync packer after a successful update
|
||||||
|
Loading…
Reference in New Issue
Block a user