This commit is contained in:
jay 2024-03-05 23:36:54 +08:00
parent 6aa8d00242
commit 95ad4c7c5f
4 changed files with 19 additions and 3 deletions

View File

@ -127,5 +127,16 @@ return {
-- themes -- themes
"tomasr/molokai", "tomasr/molokai",
{
"vimwiki/vimwiki", "vimwiki/vimwiki",
init = function ()
vim.g.vimwiki_list = {
{
path = '~/vimwiki/',
syntax = 'markdown',
ext = '.md',
}
}
end
}
} }

View File

@ -64,6 +64,10 @@ return {
capabilities = capabilities, capabilities = capabilities,
on_attach = on_attach, on_attach = on_attach,
} }
nvlsp['pylsp'].setup{
capabilities = capabilities,
on_attach = on_attach,
}
end end
} }

View File

@ -17,7 +17,8 @@ set $down j
set $up k set $up k
set $right l set $right l
# Your preferred terminal emulator # Your preferred terminal emulator
set $term env WAYLAND_DISPLAY= WINIT_X11_SCALE_FACTOR=1.0 alacritty # set $term env WAYLAND_DISPLAY= WINIT_X11_SCALE_FACTOR=1.0 alacritty
set $term alacritty
# set $term env WAYLAND_DISPLAY= WINIT_X11_SCALE_FACTOR=1.0 WINIT_UNIX_BACKEND=x11 alacritty # set $term env WAYLAND_DISPLAY= WINIT_X11_SCALE_FACTOR=1.0 WINIT_UNIX_BACKEND=x11 alacritty
# Your preferred application launcher # Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened # Note: pass the final command to swaymsg so that the resulting window can be opened

View File

@ -31,7 +31,7 @@
}, },
"wlr/workspaces": { "wlr/workspaces": {
"format": "{name}", "format": "{name}",
"on-click": "activate", // "on-click": "activate",
"disable-scroll": true "disable-scroll": true
}, },
"sway/window": { "sway/window": {