Compare commits
2 Commits
1f17082b04
...
55e28be32c
Author | SHA1 | Date | |
---|---|---|---|
55e28be32c | |||
320d742b41 |
|
@ -9,6 +9,20 @@ return {
|
|||
--- @module "snacks"
|
||||
--- @type snacks.Config
|
||||
opts = {
|
||||
bigfile = {
|
||||
enabled = true,
|
||||
---@param ctx {buf: number, ft:string}
|
||||
setup = function(ctx)
|
||||
-- Disable treesitter
|
||||
vim.treesitter.stop(ctx.buf)
|
||||
|
||||
vim.schedule(function()
|
||||
if vim.api.nvim_buf_is_valid(ctx.buf) then
|
||||
vim.bo[ctx.buf].syntax = ctx.ft
|
||||
end
|
||||
end)
|
||||
end,
|
||||
},
|
||||
indent = {
|
||||
enabled = true,
|
||||
indent = {
|
||||
|
|
|
@ -3,26 +3,12 @@ local window = require("symbols.window")
|
|||
--- @module "lazy"
|
||||
--- @type LazySpec
|
||||
return {
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
cmd = { "Telescope" },
|
||||
lazy = false,
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
{
|
||||
"nvim-telescope/telescope-ui-select.nvim",
|
||||
config = function()
|
||||
require("telescope").load_extension("ui-select")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-telescope/telescope-fzf-native.nvim",
|
||||
build = "make",
|
||||
cond = function()
|
||||
return vim.fn.executable("make") == 1
|
||||
end,
|
||||
config = function()
|
||||
require("telescope").load_extension("fzf")
|
||||
end,
|
||||
},
|
||||
},
|
||||
opts = function()
|
||||
return {
|
||||
|
@ -117,4 +103,27 @@ return {
|
|||
end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-telescope/telescope-ui-select.nvim",
|
||||
dependencies = {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
},
|
||||
config = function()
|
||||
require("telescope").load_extension("ui-select")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-telescope/telescope-fzf-native.nvim",
|
||||
dependencies = {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
},
|
||||
build = "make",
|
||||
cond = function()
|
||||
return vim.fn.executable("make") == 1
|
||||
end,
|
||||
config = function()
|
||||
require("telescope").load_extension("fzf")
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user