Updated tresiiter config
This commit is contained in:
parent
59fd9ddcc8
commit
eade86c9b2
@ -7,7 +7,7 @@ return {
|
|||||||
spell = false, -- sets vim.opt.spell
|
spell = false, -- sets vim.opt.spell
|
||||||
signcolumn = "auto", -- sets vim.opt.signcolumn to auto
|
signcolumn = "auto", -- sets vim.opt.signcolumn to auto
|
||||||
wrap = false, -- sets vim.opt.wrap
|
wrap = false, -- sets vim.opt.wrap
|
||||||
textwidth = 250, -- sets vim.opt.textwidth
|
textwidth = 200, -- sets vim.opt.textwidth
|
||||||
},
|
},
|
||||||
g = {
|
g = {
|
||||||
mapleader = " ", -- sets vim.g.mapleader
|
mapleader = " ", -- sets vim.g.mapleader
|
||||||
|
|||||||
@ -4,6 +4,18 @@ return {
|
|||||||
-- add more things to the ensure_installed table protecting against community packs modifying it
|
-- add more things to the ensure_installed table protecting against community packs modifying it
|
||||||
opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, {
|
opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, {
|
||||||
"lua",
|
"lua",
|
||||||
|
"c",
|
||||||
|
"vim",
|
||||||
|
"bash",
|
||||||
|
"json",
|
||||||
|
"yaml",
|
||||||
|
"html",
|
||||||
|
"css",
|
||||||
|
"javascript",
|
||||||
|
"typescript",
|
||||||
|
"python",
|
||||||
|
"dockerfile",
|
||||||
|
"cpp",
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,47 +20,4 @@ return {
|
|||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"nvim-telescope/telescope.nvim",
|
|
||||||
opts = function()
|
|
||||||
local actions = require "telescope.actions"
|
|
||||||
local get_icon = require("astronvim.utils").get_icon
|
|
||||||
return {
|
|
||||||
defaults = {
|
|
||||||
prompt_prefix = string.format("%s ", get_icon "Search"),
|
|
||||||
selection_caret = string.format("%s ", get_icon "Selected"),
|
|
||||||
path_display = { "truncate" },
|
|
||||||
sorting_strategy = "ascending",
|
|
||||||
layout_config = {
|
|
||||||
horizontal = {
|
|
||||||
prompt_position = "bottom",
|
|
||||||
preview_width = 0.55,
|
|
||||||
},
|
|
||||||
vertical = {
|
|
||||||
mirror = false,
|
|
||||||
},
|
|
||||||
width = 0.87,
|
|
||||||
height = 0.80,
|
|
||||||
preview_cutoff = 120,
|
|
||||||
},
|
|
||||||
|
|
||||||
mappings = {
|
|
||||||
i = {
|
|
||||||
["<C-n>"] = actions.cycle_history_next,
|
|
||||||
["<C-p>"] = actions.cycle_history_prev,
|
|
||||||
["<C-j>"] = actions.move_selection_next,
|
|
||||||
["<C-k>"] = actions.move_selection_previous,
|
|
||||||
},
|
|
||||||
n = { ["q"] = actions.close },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
end,
|
|
||||||
-- the first parameter is the plugin specification
|
|
||||||
-- the second is the table of options as set up in Lazy with the `opts` key
|
|
||||||
config = function(plugin, opts)
|
|
||||||
-- run the core AstroNvim configuration function with the options table
|
|
||||||
require "plugins.configs.telescope"(plugin, opts)
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user