vitorpy's Dotfiles

Disable nvim plugins when loaded by VS Code

vitorpy aaf45ac1 3d26330b

+8 -4
+1
private_dot_config/hypr/hyprland.conf
··· 176 176 windowrule = plugin:hyprbars:nobar, class:geary 177 177 windowrule = plugin:hyprbars:nobar, class:cursor# 178 178 windowrule = plugin:hyprbars:nobar, class:org.telegram.desktop.* 179 + windowrule = plugin:hyprbars:nobar, class:VSCodium 179 180 180 181 ############# 181 182 ### INPUT ###
+7 -4
private_dot_config/nvim/init.lua
··· 37 37 end, 38 38 }) 39 39 40 - -- Load plugins 41 - require("lazy").setup("plugins") 40 + -- Only load plugins if not in VS Code 41 + if not vim.g.vscode then 42 + -- Load plugins 43 + require("lazy").setup("plugins") 42 44 43 - -- Load IDE layout command 44 - require("ide-layout") 45 + -- Load IDE layout command 46 + require("ide-layout") 47 + end