important changes
This commit is contained in:
parent
e8e8b3d9ac
commit
fd46b2a6b6
|
@ -67,7 +67,7 @@ opt.foldlevel = 10 -- start with all folds open
|
||||||
-- Editor UI
|
-- Editor UI
|
||||||
-- ===
|
-- ===
|
||||||
|
|
||||||
vim.o.guifont = "FiraCode Nerd Font:h22"
|
vim.o.guifont = "FiraCode Nerd Font:h15"
|
||||||
opt.termguicolors = true
|
opt.termguicolors = true
|
||||||
opt.shortmess = "xsTOInfFitloCaAs"
|
opt.shortmess = "xsTOInfFitloCaAs"
|
||||||
opt.showmode = true -- Show mode in cmd window
|
opt.showmode = true -- Show mode in cmd window
|
||||||
|
|
|
@ -821,7 +821,17 @@ local plugins = {
|
||||||
},
|
},
|
||||||
-- LSP configuration
|
-- LSP configuration
|
||||||
server = {
|
server = {
|
||||||
auto_attach = false,
|
on_attach = function(client, bufnr)
|
||||||
|
-- you can also put keymaps in here
|
||||||
|
end,
|
||||||
|
settings = {
|
||||||
|
-- rust-analyzer language server configuration
|
||||||
|
["rust-analyzer"] = {
|
||||||
|
cargo = {
|
||||||
|
features = "all",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
-- DAP configuration
|
-- DAP configuration
|
||||||
dap = {
|
dap = {
|
||||||
|
@ -840,6 +850,42 @@ local plugins = {
|
||||||
require("nvim-dap-virtual-text").setup()
|
require("nvim-dap-virtual-text").setup()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"jvgrootveld/telescope-zoxide",
|
||||||
|
dependencies = "nvim-telescope/telescope.nvim",
|
||||||
|
config = function()
|
||||||
|
-- Useful for easily creating commands
|
||||||
|
local z_utils = require "telescope._extensions.zoxide.utils"
|
||||||
|
|
||||||
|
require("telescope").setup {
|
||||||
|
-- (other Telescope configuration...)
|
||||||
|
extensions = {
|
||||||
|
zoxide = {
|
||||||
|
prompt_title = "[ Walking on the shoulders of TJ ]",
|
||||||
|
mappings = {
|
||||||
|
default = {
|
||||||
|
after_action = function(selection)
|
||||||
|
print("Update to (" .. selection.z_score .. ") " .. selection.path)
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
["<C-s>"] = {
|
||||||
|
before_action = function(selection)
|
||||||
|
print "before C-s"
|
||||||
|
end,
|
||||||
|
action = function(selection)
|
||||||
|
vim.cmd.edit(selection.path)
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
-- Opens the selected entry in a new split
|
||||||
|
["<C-q>"] = { action = z_utils.create_basic_command "split" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
require("telescope").load_extension "zoxide"
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
{ "nanotee/zoxide.vim" },
|
||||||
}
|
}
|
||||||
|
|
||||||
return plugins
|
return plugins
|
||||||
|
|
|
@ -283,3 +283,8 @@ erstmal
|
||||||
warmweißer
|
warmweißer
|
||||||
WG
|
WG
|
||||||
SilverBullet
|
SilverBullet
|
||||||
|
Forgejo
|
||||||
|
additional
|
||||||
|
scriptable
|
||||||
|
Autcrate
|
||||||
|
rustaceans
|
||||||
|
|
Loading…
Reference in New Issue