Compare commits
5 Commits
9c3f47615b
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 7c918c3c17 | |||
| 4ae85ca347 | |||
| 653a75cc18 | |||
| 42bae035ee | |||
| e0fcb2988f |
@ -11,7 +11,7 @@
|
|||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Create btrfs snapshot before changes
|
- name: Create btrfs snapshot before changes
|
||||||
shell: |
|
shell: |
|
||||||
sudo btrfs subvolume snapsho / /.snapshots/before-dotfiles-$(date +%Y%m%d-%H%M%S)
|
sudo btrfs subvolume snapshot / /.snapshots/before-dotfiles-$(date +%Y%m%d-%H%M%S)
|
||||||
tags: [snapshot]
|
tags: [snapshot]
|
||||||
become: true
|
become: true
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
|
|||||||
@ -1,3 +1,6 @@
|
|||||||
|
# Ctrl+Backspace -> backward-kill-word (send ESC + DEL)
|
||||||
|
# keybind = ctrl+delete=text:\x1b\x7f
|
||||||
|
|
||||||
shell-integration = zsh
|
shell-integration = zsh
|
||||||
shell-integration-features = cursor,sudo,title
|
shell-integration-features = cursor,sudo,title
|
||||||
|
|
||||||
|
|||||||
@ -24,10 +24,14 @@ $menu = wofi --show drun
|
|||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
# Or execute your favorite apps at launch like this:
|
# Or execute your favorite apps at launch like this:
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
|
exec-once = hyprpanel
|
||||||
exec-once = dunst
|
exec-once = dunst
|
||||||
exec-once = firefox
|
exec-once = firefox
|
||||||
exec-once = hyprpaper
|
exec-once = hyprpaper
|
||||||
exec-once = spotify
|
exec-once = [workspace 9 silent] spotify
|
||||||
|
|
||||||
|
# gnome keyring secret service
|
||||||
|
exec-once = dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
### ENVIRONMENT VARIABLES ###
|
### ENVIRONMENT VARIABLES ###
|
||||||
@ -38,6 +42,9 @@ env = XCURSOR_SIZE,24
|
|||||||
env = HYPRCURSOR_SIZE,24
|
env = HYPRCURSOR_SIZE,24
|
||||||
env = QT_QPA_PLATFORM,waylandl;xcb
|
env = QT_QPA_PLATFORM,waylandl;xcb
|
||||||
env = QT_QPA_PLATFORMTHEME,qt5ct
|
env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||||
|
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||||
|
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||||
|
# env = QT_STYLE_OVERRIDE,kvantum
|
||||||
|
|
||||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||||
env = XDG_SESSION_TYPE,wayland
|
env = XDG_SESSION_TYPE,wayland
|
||||||
@ -237,7 +244,8 @@ bind = $mainMod, N, exec, $fileManager
|
|||||||
bind = $mainMod, V, togglefloating,
|
bind = $mainMod, V, togglefloating,
|
||||||
bind = $mainMod, Space, exec, $menu
|
bind = $mainMod, Space, exec, $menu
|
||||||
bind = $mainMod, G, togglesplit, # dwindle
|
bind = $mainMod, G, togglesplit, # dwindle
|
||||||
bind = $mainMod, F, fullscreen
|
bind = $mainMod, F, fullscreen, 1
|
||||||
|
bind = $mainMod SHIFT, F, fullscreen, 0
|
||||||
bind = $mainMod, B, exec, firefox
|
bind = $mainMod, B, exec, firefox
|
||||||
bind = $mainMod, M, exec, thunderbird
|
bind = $mainMod, M, exec, thunderbird
|
||||||
bind = $mainMod, L, exec, hyprlock
|
bind = $mainMod, L, exec, hyprlock
|
||||||
@ -305,3 +313,10 @@ windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned
|
|||||||
windowrulev2 = tag +jb, class:^jetbrains-.+$,floating:1
|
windowrulev2 = tag +jb, class:^jetbrains-.+$,floating:1
|
||||||
windowrulev2 = stayfocused, tag:jb
|
windowrulev2 = stayfocused, tag:jb
|
||||||
windowrulev2 = noinitialfocus, tag:jb
|
windowrulev2 = noinitialfocus, tag:jb
|
||||||
|
|
||||||
|
# 1) Do not allow these windows to inhibit Hyprland shortcuts
|
||||||
|
windowrulev2 = noshortcutsinhibit, class:^(jetbrains-.*|android-studio)$
|
||||||
|
|
||||||
|
# 2) Float and center transient dialogs from these apps
|
||||||
|
windowrulev2 = float, class:^(jetbrains-.*|android-studio)$, windowtype:^(dialog|utility|popup)$
|
||||||
|
windowrulev2 = center, class:^(jetbrains-.*|android-studio)$, windowtype:^(dialog|utility|popup)$
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
# Generated by nwg-displays on 2025-09-09 at 19:00:43. Do not edit manually.
|
# Generated by nwg-displays on 2025-11-09 at 17:18:32. Do not edit manually.
|
||||||
|
|
||||||
monitor=DP-1,2560x1440@165.0,6626x876,1.0
|
monitor=DP-1,2560x1440@165.0,6626x876,1.0
|
||||||
monitor=DP-2,2560x1440@165.0,4066x876,1.0
|
monitor=DP-2,2560x1440@165.0,4066x876,1.0
|
||||||
monitor=HDMI-A-1,0x0@60.0,-1x-1,1.0
|
|
||||||
monitor=HDMI-A-1,disable
|
|
||||||
monitor=HDMI-A-2,1920x1080@60.0,9186x396,1.0
|
monitor=HDMI-A-2,1920x1080@60.0,9186x396,1.0
|
||||||
monitor=HDMI-A-2,transform,3
|
monitor=HDMI-A-2,transform,3
|
||||||
|
monitor=HDMI-A-1,3840x2160@60.0,226x156,1.0
|
||||||
|
monitor=HDMI-A-1,disable
|
||||||
|
|||||||
@ -6,9 +6,9 @@ workspace = 3, monitor:DP-1, persistent:true
|
|||||||
workspace = 4, monitor:DP-2, persistent:true, default:true
|
workspace = 4, monitor:DP-2, persistent:true, default:true
|
||||||
workspace = 5, monitor:DP-2, persistent:true
|
workspace = 5, monitor:DP-2, persistent:true
|
||||||
workspace = 6, monitor:DP-2, persistent:true
|
workspace = 6, monitor:DP-2, persistent:true
|
||||||
workspace = 7, monitor:HDMI-A-2, persistent:true, default:true
|
workspace = 7, monitor:HDMI-A-2, persistent:true
|
||||||
workspace = 8, monitor:HDMI-A-2, persistent:true
|
workspace = 8, monitor:HDMI-A-2, persistent:true
|
||||||
workspace = 9, monitor:HDMI-A-2, persistent:true
|
workspace = 9, monitor:HDMI-A-2, persistent:true, default:true
|
||||||
workspace = 10, monitor:HDMI-A-1, persistent:true, default:true
|
workspace = 10, monitor:HDMI-A-1, persistent:true, default:true
|
||||||
|
|
||||||
bind = $mainMod, 1, exec, hyprctl --batch "dispatch focusmonitor DP-1; dispatch workspace 1;"
|
bind = $mainMod, 1, exec, hyprctl --batch "dispatch focusmonitor DP-1; dispatch workspace 1;"
|
||||||
|
|||||||
@ -8,10 +8,8 @@
|
|||||||
"margin-right": 10, // gap from the right edge
|
"margin-right": 10, // gap from the right edge
|
||||||
"margin-bottom": 0,
|
"margin-bottom": 0,
|
||||||
|
|
||||||
/* order: 1-2-3 | window-title | tray + clock */
|
|
||||||
// "modules-left": [ "custom/group1", "custom/group2", "custom/group3", "custom/group4","custom/group5","custom/group6","custom/group7","custom/group8","custom/group9","custom/group10"],
|
|
||||||
"modules-left": ["hyprland/workspaces"],
|
"modules-left": ["hyprland/workspaces"],
|
||||||
"modules-center": [ "hyprland/window" ],
|
"modules-center": ["wlr/taskbar"],
|
||||||
"modules-right": [ "tray", "custom/separator", "network", "bluetooth", "custom/separator", "disk", "cpu", "memory", "pulseaudio", "custom/separator", "clock"],
|
"modules-right": [ "tray", "custom/separator", "network", "bluetooth", "custom/separator", "disk", "cpu", "memory", "pulseaudio", "custom/separator", "clock"],
|
||||||
|
|
||||||
|
|
||||||
@ -19,7 +17,7 @@
|
|||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"all-outputs": true,
|
"all-outputs": true,
|
||||||
"warp-on-scroll": false,
|
"warp-on-scroll": false,
|
||||||
"format": "{icon}",
|
"format": "{icon}{windows}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"1": "1",
|
"1": "1",
|
||||||
"2": "2",
|
"2": "2",
|
||||||
@ -32,6 +30,29 @@
|
|||||||
"9": "9",
|
"9": "9",
|
||||||
"10": "0"
|
"10": "0"
|
||||||
},
|
},
|
||||||
|
"window-rewrite-default": " ",
|
||||||
|
"format-window-separator": "",
|
||||||
|
"window-rewrite": {
|
||||||
|
"class<firefox>": " ",
|
||||||
|
"class<com.mitchellh.ghostty>": " ",
|
||||||
|
"class<com.mitchellh.ghostty> title<vim.*>": " ",
|
||||||
|
"class<Spotify>": " ",
|
||||||
|
"class<QOwnNotes>": " ",
|
||||||
|
"class<thunderbird>": " ",
|
||||||
|
"class<thunar>": " ",
|
||||||
|
"class<jetbrains-webstorm>": " ",
|
||||||
|
"class<jetbrains-pycharm>": " ",
|
||||||
|
"class<steam>": " ",
|
||||||
|
"class<discord>": " "
|
||||||
|
// "": "",
|
||||||
|
// "": "",
|
||||||
|
// "": "",
|
||||||
|
// "": "",
|
||||||
|
// "": "",
|
||||||
|
// "": "",
|
||||||
|
// "": "",
|
||||||
|
// "": ""
|
||||||
|
},
|
||||||
"persistent-workspaces": {
|
"persistent-workspaces": {
|
||||||
"1": [],
|
"1": [],
|
||||||
"2": [],
|
"2": [],
|
||||||
@ -47,7 +68,14 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
"hyprland/window": { "format": "{title}", "max-length": 60 },
|
// "hyprland/window": { "format": "{title}", "max-length": 60 },
|
||||||
|
"wlr/taskbar": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"icon-theme": "Ars-Dark-Icons",
|
||||||
|
"tooltip-format": "{title}",
|
||||||
|
"on-click": "activate",
|
||||||
|
"on-click-middle": "close"
|
||||||
|
},
|
||||||
"tray": { "icon-size": 16, "spacing": 10 },
|
"tray": { "icon-size": 16, "spacing": 10 },
|
||||||
|
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
|
|||||||
@ -60,7 +60,7 @@ window#waybar {
|
|||||||
#tray menu menuitem:hover { background: alpha(@accent1, 0.16); }
|
#tray menu menuitem:hover { background: alpha(@accent1, 0.16); }
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 8px;
|
padding: 0 2px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: #6c7086;
|
color: #6c7086;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
|||||||
@ -1,41 +1,41 @@
|
|||||||
{
|
{
|
||||||
"LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
|
"LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
|
||||||
"alpha-nvim": { "branch": "main", "commit": "2b3cbcdd980cae1e022409289245053f62fb50f6" },
|
"alpha-nvim": { "branch": "main", "commit": "3979b01cb05734331c7873049001d3f2bb8477f4" },
|
||||||
"auto-session": { "branch": "main", "commit": "ee320d7a59c1dfe83df7c9d58150d9f194690d53" },
|
"auto-session": { "branch": "main", "commit": "4cd20bb5c0138d1ce00ab35f8d7ac0f4fb4a403a" },
|
||||||
"bufdelete.nvim": { "branch": "master", "commit": "f6bcea78afb3060b198125256f897040538bcb81" },
|
"bufdelete.nvim": { "branch": "master", "commit": "f6bcea78afb3060b198125256f897040538bcb81" },
|
||||||
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
||||||
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "a8912b88ce488f411177fc8aed358b04dc246d7b" },
|
"cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" },
|
||||||
"cmp-path": { "branch": "main", "commit": "e52e640b7befd8113b3350f46e8cfcfe98fcf730" },
|
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||||
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" },
|
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" },
|
||||||
"flutter-tools.nvim": { "branch": "main", "commit": "65b7399804315a1160933b64292d3c5330aa4e9f" },
|
"flutter-tools.nvim": { "branch": "main", "commit": "69db9cdac65ce536e20a8fc9a83002f007cc049c" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
|
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
|
||||||
"lazygit.nvim": { "branch": "main", "commit": "cdd3527e251f96eb0527162b156ad839286fcd97" },
|
"lazygit.nvim": { "branch": "main", "commit": "2305deed25bc61b866d5d39189e9105a45cf1cfb" },
|
||||||
"lspkind.nvim": { "branch": "master", "commit": "d79a1c3299ad0ef94e255d045bed9fa26025dab6" },
|
"lspkind.nvim": { "branch": "master", "commit": "3ddd1b4edefa425fda5a9f95a4f25578727c0bb3" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "a94fc68960665e54408fe37dcf573193c4ce82c9" },
|
"lualine.nvim": { "branch": "master", "commit": "3946f0122255bc377d14a59b27b609fb3ab25768" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
|
||||||
"mason-tool-installer.nvim": { "branch": "main", "commit": "517ef5994ef9d6b738322664d5fdd948f0fdeb46" },
|
"mason-tool-installer.nvim": { "branch": "main", "commit": "517ef5994ef9d6b738322664d5fdd948f0fdeb46" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "4da89f3ab04783da990f9bd40aaa36c22e59375b" },
|
"mason.nvim": { "branch": "main", "commit": "4da89f3ab04783da990f9bd40aaa36c22e59375b" },
|
||||||
"monokai-nightasty.nvim": { "branch": "main", "commit": "8182c45dcaf82e7316cfda6d439ee8ad783ae594" },
|
"monokai-nightasty.nvim": { "branch": "main", "commit": "91b0798334534394d77b0b6e6089fe0655b241b3" },
|
||||||
"neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" },
|
"neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" },
|
||||||
"none-ls-extras.nvim": { "branch": "main", "commit": "924fe88a9983c7d90dbb31fc4e3129a583ea0a90" },
|
"none-ls-extras.nvim": { "branch": "main", "commit": "402c6b5c29f0ab57fac924b863709f37f55dc298" },
|
||||||
"none-ls.nvim": { "branch": "main", "commit": "3ce66bc62eb363f19cceeb1fae2e71ea2bede56d" },
|
"none-ls.nvim": { "branch": "main", "commit": "a96172f673f720cd4f3572e1fcd08400ed3eb25d" },
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "23320e75953ac82e559c610bec5a90d9c6dfa743" },
|
"nvim-autopairs": { "branch": "master", "commit": "7a2c97cccd60abc559344042fefb1d5a85b3e33b" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
|
"nvim-cmp": { "branch": "main", "commit": "a7bcf1d88069fc67c9ace8a62ba480b8fe879025" },
|
||||||
"nvim-lsp-file-operations": { "branch": "master", "commit": "9744b738183a5adca0f916527922078a965515ed" },
|
"nvim-lsp-file-operations": { "branch": "master", "commit": "9744b738183a5adca0f916527922078a965515ed" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "4d3b3bb8815fbe37bcaf3dbdb12a22382bc11ebe" },
|
"nvim-lspconfig": { "branch": "master", "commit": "87d30189b24caa496b54affd65594a309ac6d929" },
|
||||||
"nvim-surround": { "branch": "main", "commit": "7a7a78a52219a3312c1fcabf880cea07a7956a5f" },
|
"nvim-surround": { "branch": "main", "commit": "fcfa7e02323d57bfacc3a141f8a74498e1522064" },
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "a9156c013916d3c8a2905ab2e26e9dd74beb642e" },
|
"nvim-tree.lua": { "branch": "master", "commit": "64e2192f5250796aa4a7f33c6ad888515af50640" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
|
"nvim-ts-autotag": { "branch": "main", "commit": "c4ca798ab95b316a768d51eaaaee48f64a4a46bc" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "4a8369f4c78ef6f6f895f0cec349e48f74330574" },
|
"nvim-web-devicons": { "branch": "master", "commit": "8dcb311b0c92d460fac00eac706abd43d94d68af" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
|
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
|
||||||
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
||||||
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
|
"todo-comments.nvim": { "branch": "main", "commit": "411503d3bedeff88484de572f2509c248e499b38" },
|
||||||
"venv-selector.nvim": { "branch": "regexp", "commit": "c677caa1030808a9f90092e522de7cc20c1390dd" },
|
"venv-selector.nvim": { "branch": "regexp", "commit": "d2326e7433fdeb10f7d0d1237c18b91b353f9f8b" },
|
||||||
"vim-floaterm": { "branch": "master", "commit": "fd4bdd66eca56c6cc59f2119e4447496d8cde2ea" },
|
"vim-floaterm": { "branch": "master", "commit": "a720490bd9dc02c5492e800aa08d4802f22b01f8" },
|
||||||
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }
|
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,7 +8,7 @@ return {
|
|||||||
{ 'folke/neodev.nvim', opts = {} },
|
{ 'folke/neodev.nvim', opts = {} },
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
local lspconfig = require('lspconfig')
|
local lspconfig = vim.lsp
|
||||||
local mason_lspconfig = require('mason-lspconfig')
|
local mason_lspconfig = require('mason-lspconfig')
|
||||||
local cmp_nvim_lsp = require('cmp_nvim_lsp')
|
local cmp_nvim_lsp = require('cmp_nvim_lsp')
|
||||||
local keymap = vim.keymap
|
local keymap = vim.keymap
|
||||||
@ -41,13 +41,13 @@ return {
|
|||||||
mason_lspconfig.setup_handlers({
|
mason_lspconfig.setup_handlers({
|
||||||
-- default handler for installed servers
|
-- default handler for installed servers
|
||||||
function(server_name)
|
function(server_name)
|
||||||
lspconfig[server_name].setup({
|
lspconfig.enable(server_name, {
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
-- TODO add lsp configs
|
-- TODO add lsp configs
|
||||||
['lua_ls'] = function()
|
['lua_ls'] = function()
|
||||||
lspconfig['lua_ls'].setup({
|
lspconfig.enable('lua_ls', {
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
settings = {
|
settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
@ -63,7 +63,7 @@ return {
|
|||||||
end,
|
end,
|
||||||
['emmet_ls'] = function()
|
['emmet_ls'] = function()
|
||||||
-- capabilities.textDocument.completion.completionItem.snippetSupport = true
|
-- capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||||
lspconfig['emmet_ls'].setup({
|
lspconfig.enable('emmet_ls', {
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
filetypes = {
|
filetypes = {
|
||||||
'html',
|
'html',
|
||||||
@ -81,7 +81,7 @@ return {
|
|||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
['ts_ls'] = function()
|
['ts_ls'] = function()
|
||||||
lspconfig['ts_ls'].setup({
|
lspconfig.enable('ts_ls', {
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
cmd = { "typescript-language-server", "--stdio" },
|
cmd = { "typescript-language-server", "--stdio" },
|
||||||
init_options = {
|
init_options = {
|
||||||
|
|||||||
@ -1,24 +0,0 @@
|
|||||||
return {
|
|
||||||
"linux-cultist/venv-selector.nvim",
|
|
||||||
dependencies = {
|
|
||||||
"neovim/nvim-lspconfig",
|
|
||||||
-- "mfussenegger/nvim-dap", "mfussenegger/nvim-dap-python", --optional
|
|
||||||
{ "nvim-telescope/telescope.nvim", branch = "0.1.x", dependencies = { "nvim-lua/plenary.nvim" } },
|
|
||||||
},
|
|
||||||
lazy = false,
|
|
||||||
branch = "regexp", -- This is the regexp branch, use this for the new version
|
|
||||||
config = function()
|
|
||||||
require("venv-selector").setup({
|
|
||||||
-- settings = {
|
|
||||||
-- search = {
|
|
||||||
-- my_envs = {
|
|
||||||
-- command = "fd python$ ~/git/cerenim/backend/"
|
|
||||||
-- }
|
|
||||||
-- }
|
|
||||||
-- }
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
keys = {
|
|
||||||
{ ",v", "<cmd>VenvSelect<cr>" },
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@ -49,3 +49,4 @@ fi
|
|||||||
|
|
||||||
alias drun='docker run -it --network=host --device=/dev/kfd --device=/dev/dri --group-add=video --ipc=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined'
|
alias drun='docker run -it --network=host --device=/dev/kfd --device=/dev/dri --group-add=video --ipc=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined'
|
||||||
|
|
||||||
|
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh"
|
||||||
|
|||||||
Reference in New Issue
Block a user