update from lal-10
This commit is contained in:
parent
71593a9b80
commit
36b50bb269
@ -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"),
|
||||
|
@ -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>" },
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user