Compare commits
2 commits
2f6af67f85
...
fc70aa6d49
| Author | SHA1 | Date | |
|---|---|---|---|
| fc70aa6d49 | |||
| a8136d4297 |
13 changed files with 114 additions and 93 deletions
|
|
@ -1,39 +1,37 @@
|
||||||
{
|
{
|
||||||
"LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" },
|
"LuaSnip": { "branch": "master", "commit": "5a1e39223db9a0498024a77b8441169d260c8c25" },
|
||||||
"catppuccin": { "branch": "main", "commit": "5b5e3aef9ad7af84f463d17b5479f06b87d5c429" },
|
"catppuccin": { "branch": "main", "commit": "ce8d176faa4643e026e597ae3c31db59b63cef09" },
|
||||||
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "a8912b88ce488f411177fc8aed358b04dc246d7b" },
|
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||||
"crates.nvim": { "branch": "main", "commit": "73d2c590c74a0c582144987a4decb4a642755859" },
|
"crates.nvim": { "branch": "main", "commit": "ac9fa498a9edb96dc3056724ff69d5f40b898453" },
|
||||||
"diagflow.nvim": { "branch": "main", "commit": "b13321b517ff64bf42eeac2214085d3c76d83a0d" },
|
"diagflow.nvim": { "branch": "main", "commit": "b13321b517ff64bf42eeac2214085d3c76d83a0d" },
|
||||||
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" },
|
"gitsigns.nvim": { "branch": "main", "commit": "bf77caa5da671f5bab16e4792711d5aa288e8db0" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "2149fc2009d1117d58e86e56836f70c969f60a82" },
|
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||||
"lsp-zero.nvim": { "branch": "v3.x", "commit": "77550f2f6cbf0959ef1583d845661af075f3442b" },
|
"lspkind.nvim": { "branch": "master", "commit": "3ddd1b4edefa425fda5a9f95a4f25578727c0bb3" },
|
||||||
"lspkind.nvim": { "branch": "master", "commit": "d79a1c3299ad0ef94e255d045bed9fa26025dab6" },
|
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "86fe39534b7da729a1ac56c0466e76f2c663dc42" },
|
"mini.icons": { "branch": "main", "commit": "ff2e4f1d29f659cc2bad0f9256f2f6195c6b2428" },
|
||||||
"mini.icons": { "branch": "main", "commit": "397ed3807e96b59709ef3292f0a3e253d5c1dc0a" },
|
"mini.indentscope": { "branch": "main", "commit": "0308f949f31769e509696af5d5f91cebb2159c69" },
|
||||||
"mini.indentscope": { "branch": "main", "commit": "8af2569a7d7fd37300dfa760e44e71efbbf322fd" },
|
"mini.pairs": { "branch": "main", "commit": "d5a29b6254dad07757832db505ea5aeab9aad43a" },
|
||||||
"mini.pairs": { "branch": "main", "commit": "69864a2efb36c030877421634487fd90db1e4298" },
|
"noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" },
|
||||||
"noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" },
|
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||||
"nui.nvim": { "branch": "main", "commit": "8d3bce9764e627b62b07424e0df77f680d47ffdb" },
|
"nvim-cmp": { "branch": "main", "commit": "d97d85e01339f01b842e6ec1502f639b080cb0fc" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
|
"nvim-lspconfig": { "branch": "master", "commit": "d696e36d5792daf828f8c8e8d4b9aa90c1a10c2a" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "747de98ca607615f66af5864f3eeaa2eeeb3d2da" },
|
"nvim-navic": { "branch": "master", "commit": "7d914a39a1ef8f4e22c2c4381abeef7c556f5a13" },
|
||||||
"nvim-navic": { "branch": "master", "commit": "39231352aec0d1e09cebbffdd9dc20a5dc691ffe" },
|
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "684eeac91ed8e297685a97ef70031d19ac1de25a" },
|
"nvim-ts-autotag": { "branch": "main", "commit": "c4ca798ab95b316a768d51eaaaee48f64a4a46bc" },
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
|
"nvim-web-devicons": { "branch": "master", "commit": "6788013bb9cb784e606ada44206b0e755e4323d7" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "855c97005c8eebcdd19846f2e54706bffd40ee96" },
|
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
"ripgrep": { "branch": "master", "commit": "0a88cccd5188074de96f54a4b6b44a63971ac157" },
|
||||||
"ripgrep": { "branch": "master", "commit": "6dfaec03e830892e787686917509c17860456db1" },
|
"telescope-file-browser.nvim": { "branch": "master", "commit": "3610dc7dc91f06aa98b11dca5cc30dfa98626b7e" },
|
||||||
"telescope-file-browser.nvim": { "branch": "master", "commit": "626998e5c1b71c130d8bc6cf7abb6709b98287bb" },
|
"telescope.nvim": { "branch": "master", "commit": "4d0f5e0e7f69071e315515c385fab2a4eff07b3d" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "a4ed82509cecc56df1c7138920a1aeaf246c0ac5" },
|
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
|
||||||
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
|
"vim-fugitive": { "branch": "master", "commit": "61b51c09b7c9ce04e821f6cf76ea4f6f903e3cf4" },
|
||||||
"vim-fugitive": { "branch": "master", "commit": "4a745ea72fa93bb15dd077109afbb3d1809383f2" },
|
"vim-illuminate": { "branch": "master", "commit": "0d1e93684da00ab7c057410fecfc24f434698898" },
|
||||||
"vim-illuminate": { "branch": "master", "commit": "1fa4b23409e22a03823648e344c77f260e2572cb" },
|
|
||||||
"vim-lumen": { "branch": "master", "commit": "97157aac9f0d24c144a3defdfe5057ee61e18dcb" },
|
"vim-lumen": { "branch": "master", "commit": "97157aac9f0d24c144a3defdfe5057ee61e18dcb" },
|
||||||
"vim-numbertoggle": { "branch": "main", "commit": "075b7478777e694fbac330ee34a74590dad0fee1" },
|
"vim-numbertoggle": { "branch": "main", "commit": "075b7478777e694fbac330ee34a74590dad0fee1" },
|
||||||
"vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" },
|
"vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" },
|
||||||
"vimtex": { "branch": "master", "commit": "cfd4e528b0b44804b51a2929ddcde0b99ebae52f" },
|
"vimtex": { "branch": "master", "commit": "f5c37462c690da9a0d05cd12a7b9595b10b56200" },
|
||||||
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }
|
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"VonHeikemen/lsp-zero.nvim",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
my_servers = {
|
my_servers = {
|
||||||
bashls = {},
|
bashls = {},
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"VonHeikemen/lsp-zero.nvim",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
my_servers = {
|
my_servers = {
|
||||||
clangd = {
|
clangd = {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"VonHeikemen/lsp-zero.nvim",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
my_servers = {
|
my_servers = {
|
||||||
gopls = {},
|
gopls = {},
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"VonHeikemen/lsp-zero.nvim",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
my_servers = {
|
my_servers = {
|
||||||
pylsp = {},
|
pylsp = {},
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"VonHeikemen/lsp-zero.nvim",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
my_servers = {
|
my_servers = {
|
||||||
racket_langserver = {},
|
racket_langserver = {},
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"VonHeikemen/lsp-zero.nvim",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
my_servers = {
|
my_servers = {
|
||||||
rust_analyzer = {
|
rust_analyzer = {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"VonHeikemen/lsp-zero.nvim",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
my_servers = {
|
my_servers = {
|
||||||
texlab = {},
|
texlab = {},
|
||||||
|
|
@ -30,7 +30,8 @@ return {
|
||||||
vim.g.vimtex_syntax_enabled = 0
|
vim.g.vimtex_syntax_enabled = 0
|
||||||
|
|
||||||
-- Use Zathura instead of Evince
|
-- Use Zathura instead of Evince
|
||||||
--vim.g.vimtex_view_method = "zathura"
|
vim.g.vimtex_view_method = "general"
|
||||||
|
vim.g.vimtex_view_general_viewer = "papers"
|
||||||
vim.g.vimtex_view_forward_search_on_start = 0
|
vim.g.vimtex_view_forward_search_on_start = 0
|
||||||
|
|
||||||
-- TeX file-specific options
|
-- TeX file-specific options
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ vim.api.nvim_create_autocmd("FileType", {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"VonHeikemen/lsp-zero.nvim",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
my_servers = {
|
my_servers = {
|
||||||
tinymist = {
|
tinymist = {
|
||||||
|
|
|
||||||
|
|
@ -1,53 +1,60 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"VonHeikemen/lsp-zero.nvim",
|
"neovim/nvim-lspconfig",
|
||||||
branch = "v3.x",
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"neovim/nvim-lspconfig",
|
|
||||||
"SmiteshP/nvim-navic",
|
"SmiteshP/nvim-navic",
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
-- Servers configured in my_servers will automatically have
|
-- Servers configured in my_servers will be automatically configured
|
||||||
-- require("lspconfig")[server].setup(server_opts) called on them
|
|
||||||
my_servers = {},
|
my_servers = {},
|
||||||
},
|
},
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
local lsp_zero = require("lsp-zero")
|
|
||||||
local lspconfig = require("lspconfig")
|
local lspconfig = require("lspconfig")
|
||||||
|
|
||||||
-- enable lsp-zero
|
-- configure keybinds + navic at attach time
|
||||||
lsp_zero.on_attach(function(client, buffnr)
|
vim.api.nvim_create_autocmd("LspAttach", {
|
||||||
-- set lsp keybinds
|
callback = function(args)
|
||||||
-- NOTE: this check is needed since crates.nvim will overwrite "K"
|
local client = assert(vim.lsp.get_client_by_id(args.data.client_id))
|
||||||
if not vim.fn.mapcheck("K", "n") then
|
|
||||||
vim.keymap.set("n", "K", vim.lsp.buf.hover, { desc = "Show documentation" })
|
|
||||||
end
|
|
||||||
vim.keymap.set("n", "gd", vim.lsp.buf.definition, { desc = "Go to definition" })
|
|
||||||
vim.keymap.set("n", "gD", vim.lsp.buf.declaration, { desc = "Go to declaration" })
|
|
||||||
vim.keymap.set("n", "gi", vim.lsp.buf.implementation, { desc = "Go to implementation" })
|
|
||||||
vim.keymap.set("n", "<leader>r", vim.lsp.buf.rename, { desc = "Rename symbol under cursor" })
|
|
||||||
vim.keymap.set("n", "<F2>", vim.lsp.buf.rename, { desc = "Rename symbol under cursor" })
|
|
||||||
vim.keymap.set("n", "<leader>a", vim.lsp.buf.code_action, { desc = "Open code actions" })
|
|
||||||
vim.keymap.set("n", "<leader>m", vim.lsp.buf.format, { desc = "Format current file" })
|
|
||||||
|
|
||||||
-- use telescope for LSP references, etc
|
-- set lsp keybinds
|
||||||
vim.keymap.set("n", "gr", "<cmd>Telescope lsp_references<cr>", { buffer = buffnr, desc = "Go to references" })
|
-- NOTE: this check is needed since crates.nvim will overwrite "K"
|
||||||
vim.keymap.set("n", "go", "<cmd>Telescope lsp_type_definitions<cr>", { desc = "Go to object type definition" })
|
if not vim.fn.mapcheck("K", "n") then
|
||||||
vim.keymap.set("n", "<leader>d", "<cmd>Telescope diagnostics bufnr=0<cr>", { desc = "Open file diagnostic list" })
|
vim.keymap.set("n", "K", vim.lsp.buf.hover, { desc = "Show documentation" })
|
||||||
vim.keymap.set("n", "<leader>D", "<cmd>Telescope diagnostics<cr>", { desc = "Open workspace diagnostic list" })
|
end
|
||||||
|
vim.keymap.set("n", "gd", vim.lsp.buf.definition, { desc = "Go to definition" })
|
||||||
|
vim.keymap.set("n", "gD", vim.lsp.buf.declaration, { desc = "Go to declaration" })
|
||||||
|
vim.keymap.set("n", "gi", vim.lsp.buf.implementation, { desc = "Go to implementation" })
|
||||||
|
vim.keymap.set("n", "<leader>r", vim.lsp.buf.rename, { desc = "Rename symbol under cursor" })
|
||||||
|
vim.keymap.set("n", "<F2>", vim.lsp.buf.rename, { desc = "Rename symbol under cursor" })
|
||||||
|
vim.keymap.set("n", "<leader>a", vim.lsp.buf.code_action, { desc = "Open code actions" })
|
||||||
|
vim.keymap.set("n", "<leader>m", vim.lsp.buf.format, { desc = "Format current file" })
|
||||||
|
|
||||||
-- Use navic for context hints
|
-- use telescope for LSP references, etc
|
||||||
if client.supports_method("textDocument/documentSymbol") then
|
vim.keymap.set("n", "gr", "<cmd>Telescope lsp_references<cr>", { buffer = buffnr, desc = "Go to references" })
|
||||||
require("nvim-navic").attach(client, buffnr)
|
vim.keymap.set("n", "go", "<cmd>Telescope lsp_type_definitions<cr>", { desc = "Go to object type definition" })
|
||||||
end
|
vim.keymap.set("n", "<leader>d", "<cmd>Telescope diagnostics bufnr=0<cr>", { desc = "Open file diagnostic list" })
|
||||||
end)
|
vim.keymap.set("n", "<leader>D", "<cmd>Telescope diagnostics<cr>", { desc = "Open workspace diagnostic list" })
|
||||||
|
vim.keymap.set("n", "<leader>s", "<cmd>Telescope lsp_document_symbols<cr>", { desc = "Open file symbols list" })
|
||||||
|
vim.keymap.set("n", "<leader>S", "<cmd>Telescope lsp_dynamic_workspace_symbols<cr>", { desc = "Open all workspaces symbols list" })
|
||||||
|
|
||||||
|
-- Use navic for context hints
|
||||||
|
if client.supports_method("textDocument/documentSymbol") then
|
||||||
|
require("nvim-navic").attach(client, args.buf)
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
-- use pretty icons instead of 'W', 'E', ...
|
-- use pretty icons instead of 'W', 'E', ...
|
||||||
lsp_zero.set_sign_icons({
|
vim.diagnostic.config({
|
||||||
error = '✘',
|
signs = {
|
||||||
warn = '▲',
|
text = {
|
||||||
hint = '⚑',
|
[vim.diagnostic.severity.ERROR] = '✘',
|
||||||
info = '»'
|
[vim.diagnostic.severity.WARN] = '▲',
|
||||||
|
[vim.diagnostic.severity.HINT] = '⚑',
|
||||||
|
[vim.diagnostic.severity.INFO] = '»',
|
||||||
|
},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- disable LSP logging
|
-- disable LSP logging
|
||||||
|
|
@ -56,7 +63,8 @@ return {
|
||||||
-- Set up language servers
|
-- Set up language servers
|
||||||
local servers = opts.my_servers
|
local servers = opts.my_servers
|
||||||
for server, server_opts in pairs(servers) do
|
for server, server_opts in pairs(servers) do
|
||||||
require("lspconfig")[server].setup(server_opts)
|
vim.lsp.config(server, server_opts)
|
||||||
|
vim.lsp.enable(server)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
@ -65,7 +73,11 @@ return {
|
||||||
event = "InsertEnter",
|
event = "InsertEnter",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"onsails/lspkind.nvim",
|
"onsails/lspkind.nvim",
|
||||||
"L3MON4D3/LuaSnip",
|
{
|
||||||
|
"L3MON4D3/LuaSnip",
|
||||||
|
version = "v2.*",
|
||||||
|
build = "make install_jsregexp",
|
||||||
|
},
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
"hrsh7th/cmp-buffer",
|
"hrsh7th/cmp-buffer",
|
||||||
"saadparwaiz1/cmp_luasnip",
|
"saadparwaiz1/cmp_luasnip",
|
||||||
|
|
@ -116,6 +128,8 @@ return {
|
||||||
{ name = "buffer" },
|
{ name = "buffer" },
|
||||||
}),
|
}),
|
||||||
mapping = {
|
mapping = {
|
||||||
|
["<Up>"] = cmp.mapping.select_prev_item({}, {'i'}),
|
||||||
|
["<Down>"] = cmp.mapping.select_next_item({}, {'i'}),
|
||||||
-- Use "Enter" for auto completion
|
-- Use "Enter" for auto completion
|
||||||
["<cr>"] = cmp.mapping.confirm({select = false}),
|
["<cr>"] = cmp.mapping.confirm({select = false}),
|
||||||
["<Tab>"] = tab_mapping,
|
["<Tab>"] = tab_mapping,
|
||||||
|
|
@ -150,6 +164,9 @@ return {
|
||||||
event = "LspAttach",
|
event = "LspAttach",
|
||||||
opts = {
|
opts = {
|
||||||
scope = "line",
|
scope = "line",
|
||||||
|
|
||||||
|
-- don't show diagnostics in insert mode
|
||||||
|
toggle_event = { "InsertEnter" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,24 @@ return {
|
||||||
-- sort buffers in order of last-use
|
-- sort buffers in order of last-use
|
||||||
sort_lastused = true,
|
sort_lastused = true,
|
||||||
},
|
},
|
||||||
|
lsp_document_symbols = {
|
||||||
|
theme = "dropdown",
|
||||||
|
layout_config = {
|
||||||
|
width = 0.9,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
lsp_workspace_symbols = {
|
||||||
|
theme = "dropdown",
|
||||||
|
layout_config = {
|
||||||
|
width = 0.9,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
lsp_dynamic_workspace_symbols = {
|
||||||
|
theme = "dropdown",
|
||||||
|
layout_config = {
|
||||||
|
width = 0.9,
|
||||||
|
},
|
||||||
|
},
|
||||||
diagnostics = {
|
diagnostics = {
|
||||||
theme = "dropdown",
|
theme = "dropdown",
|
||||||
layout_config = {
|
layout_config = {
|
||||||
|
|
@ -41,6 +59,7 @@ return {
|
||||||
},
|
},
|
||||||
extensions = {
|
extensions = {
|
||||||
file_browser = {
|
file_browser = {
|
||||||
|
initial_mode = "normal",
|
||||||
mappings = {},
|
mappings = {},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -20,22 +20,6 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{
|
|
||||||
"stevearc/dressing.nvim",
|
|
||||||
opts = {
|
|
||||||
input = {
|
|
||||||
mappings = {
|
|
||||||
i = {
|
|
||||||
["<Esc>"] = "Close",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
select = {
|
|
||||||
backend = { "telescope" },
|
|
||||||
telescope = require("telescope.themes").get_cursor(),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"MunifTanjim/nui.nvim"
|
"MunifTanjim/nui.nvim"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,9 @@ return {
|
||||||
vim.o.timeout = true
|
vim.o.timeout = true
|
||||||
vim.o.timeoutlen = 300
|
vim.o.timeoutlen = 300
|
||||||
end,
|
end,
|
||||||
opts = {},
|
opts = {
|
||||||
|
preset = "helix",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue