update from lal-10

This commit is contained in:
Diego Fernando Carrión 2024-11-13 18:35:06 +01:00
parent 71593a9b80
commit 36b50bb269
No known key found for this signature in database
GPG Key ID: A286B34D5CFB3404
3 changed files with 29 additions and 2 deletions

View File

@ -59,6 +59,10 @@ local util = require "lspconfig/util"
local servers = {
html = {},
cssls = {},
bashls = {
cmd = {"bash-language-server", "start"},
filetypes = {"sh", "bash"},
},
lua_ls = {
settings = {
Lua = {
@ -140,7 +144,9 @@ local servers = {
pyright = {
filetypes = {"python"},
},
solargraph = {},
solargraph = {
filetypes = {"ruby"},
},
gitlab_ci_ls = {},
zls = {
root_dir = lspconfig.util.root_pattern(".git", "build.zig", "zls.json"),

View File

@ -9,7 +9,14 @@ return {
ft = "python",
branch = "regexp", -- This is the regexp branch, use this for the new version
config = function()
require("venv-selector").setup()
require("venv-selector").setup({
dap_enabled = true,
venvwrapper_path = "~/devel/venvs",
name = {
"venv",
".venv",
},
})
end,
keys = {
{ ",v", "<cmd>VenvSelect<cr>" },

View File

@ -47,6 +47,20 @@ config.keys = {
mods = 'CTRL|SHIFT',
action = wezterm.action.CloseCurrentPane { confirm = true },
},
{
key = ',',
mods = 'CMD|SHIFT',
action = wezterm.action.ReloadConfiguration,
},
}
config.mouse_bindings = {
-- Ctrl-click will open the link under the mouse cursor
{
event = { Up = { streak = 1, button = 'Left' } },
mods = 'CTRL|SHIFT',
action = wezterm.action.OpenLinkAtMouseCursor,
},
}
config.font = wezterm.font 'Fira Code Nerd Font'