From 95ad4c7c5f83799c65c1a02bfa3aa3d3f5d77ea8 Mon Sep 17 00:00:00 2001 From: jay Date: Tue, 5 Mar 2024 23:36:54 +0800 Subject: [PATCH] update --- home/dot_config/nvim/lua/plugins/list.lua | 13 ++++++++++++- home/dot_config/nvim/lua/plugins/lsp.lua | 4 ++++ home/dot_config/sway/config | 3 ++- home/dot_config/waybar/config | 2 +- 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/home/dot_config/nvim/lua/plugins/list.lua b/home/dot_config/nvim/lua/plugins/list.lua index 6464fc0..0140e04 100644 --- a/home/dot_config/nvim/lua/plugins/list.lua +++ b/home/dot_config/nvim/lua/plugins/list.lua @@ -127,5 +127,16 @@ return { -- themes "tomasr/molokai", - "vimwiki/vimwiki", + { + "vimwiki/vimwiki", + init = function () + vim.g.vimwiki_list = { + { + path = '~/vimwiki/', + syntax = 'markdown', + ext = '.md', + } + } + end + } } diff --git a/home/dot_config/nvim/lua/plugins/lsp.lua b/home/dot_config/nvim/lua/plugins/lsp.lua index c116fb9..9d7be36 100644 --- a/home/dot_config/nvim/lua/plugins/lsp.lua +++ b/home/dot_config/nvim/lua/plugins/lsp.lua @@ -64,6 +64,10 @@ return { capabilities = capabilities, on_attach = on_attach, } + nvlsp['pylsp'].setup{ + capabilities = capabilities, + on_attach = on_attach, + } end } diff --git a/home/dot_config/sway/config b/home/dot_config/sway/config index a7c6780..df46ed8 100644 --- a/home/dot_config/sway/config +++ b/home/dot_config/sway/config @@ -17,7 +17,8 @@ set $down j set $up k set $right l # 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 # Your preferred application launcher # Note: pass the final command to swaymsg so that the resulting window can be opened diff --git a/home/dot_config/waybar/config b/home/dot_config/waybar/config index d242f64..24b41e1 100644 --- a/home/dot_config/waybar/config +++ b/home/dot_config/waybar/config @@ -31,7 +31,7 @@ }, "wlr/workspaces": { "format": "{name}", - "on-click": "activate", + // "on-click": "activate", "disable-scroll": true }, "sway/window": {