diff --git a/.config/i3/config b/.config/i3/config index 5585851..8d8ebb1 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -216,11 +216,12 @@ bindsym $mod2+Shift+k resize shrink height 10 px or 10 ppt bindsym $mod2+Shift+l resize grow width 10 px or 10 ppt # window settings -gaps inner 5 +gaps inner 2 gaps top 32 assign [class="tidal-hifi"] 5 assign [class="discord"] 5 +assign [class="vesktop"] 5 assign [class="thunderbird"] 7 # startup programs diff --git a/.config/nvim/lua/tsousa/plugins/lsp.lua b/.config/nvim/lua/tsousa/plugins/lsp.lua index c324548..cef34a6 100644 --- a/.config/nvim/lua/tsousa/plugins/lsp.lua +++ b/.config/nvim/lua/tsousa/plugins/lsp.lua @@ -205,7 +205,7 @@ return { vim.keymap.set("n", "wss", vim.lsp.buf.workspace_symbol, bufopts) vim.keymap.set("n", "gr", vim.lsp.buf.references, bufopts) -- vim.keymap.set('n', 'fo', function() vim.lsp.buf.format { async = true } end, bufopts) - vim.keymap.set("n", "fo", function() + vim.keymap.set({ "n", "v" }, "fo", function() require("conform").format({ lsp_fallback = true }) end, bufopts) vim.keymap.set("i", "", vim.lsp.buf.signature_help, bufopts) @@ -245,7 +245,7 @@ return { lspconfig.hls.setup({ settings = { haskell = { - formattingProvider = "fourmolu", + formattingProvider = "fourmolu", plugin = { stan = { globalOn = false }, hlint = { config = { flags = { "--ignore=Eta reduce" } } },