From 36d44494064d5e16711da364fc9661dcbaf1af09 Mon Sep 17 00:00:00 2001 From: Dmitri Date: Tue, 29 Jul 2025 14:24:12 +0200 Subject: [PATCH] sium leetcode --- nvim/lua/kanopo/options.lua | 1 + nvim/lua/kanopo/plugins/leetcode.lua | 16 ++++++++++++++++ sway/config | 3 +-- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 nvim/lua/kanopo/plugins/leetcode.lua diff --git a/nvim/lua/kanopo/options.lua b/nvim/lua/kanopo/options.lua index 0a61e67..aec32c0 100644 --- a/nvim/lua/kanopo/options.lua +++ b/nvim/lua/kanopo/options.lua @@ -16,6 +16,7 @@ vim.opt.conceallevel = 2 -- Hide markdown syntax, etc. vim.opt.signcolumn = "yes" -- Always show the sign column to avoid resizing vim.opt.timeoutlen = 300 -- Time to wait for a mapped sequence to complete vim.opt.updatetime = 250 -- Faster completion and CursorHold updates +vim.o.winborder = "rounded" -- Disable unused built-in providers for faster startup vim.g.loaded_perl_provider = 0 diff --git a/nvim/lua/kanopo/plugins/leetcode.lua b/nvim/lua/kanopo/plugins/leetcode.lua new file mode 100644 index 0000000..dd5c63e --- /dev/null +++ b/nvim/lua/kanopo/plugins/leetcode.lua @@ -0,0 +1,16 @@ +return { + "kawre/leetcode.nvim", + build = ":TSUpdate html", -- if you have `nvim-treesitter` installed + dependencies = { + 'nvim-telescope/telescope.nvim', + "nvim-lua/plenary.nvim", + "MunifTanjim/nui.nvim", + }, + opts = { + logging = false, + lang = "typescript", + picker = { + provider = "telescope" + } + }, +} diff --git a/sway/config b/sway/config index b92de8b..49d6998 100644 --- a/sway/config +++ b/sway/config @@ -38,8 +38,7 @@ output $laptop scale 1.3 output $benq bg $benq_wallpaper fill output $laptop color_profile icc ~/Documents/dotfiles/sway/BENQ_PD2706QN_ICC/'Display P3.icc' output $benq resolution 2560x1440@99.990Hz position 0,0 -# Optional: Add ICC profile if available -# output $benq color_profile icc ~/path/to/benq_pd2706qn.icm +output $laptop scale 1.3 # Gestione degli eventi del coperchio bindswitch --reload --locked lid:on output $laptop disable