formatter with range, i3 gaps decreased and vesktop
This commit is contained in:
parent
e21cc71441
commit
44c53d68d0
2 changed files with 4 additions and 3 deletions
|
@ -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
|
bindsym $mod2+Shift+l resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
# window settings
|
# window settings
|
||||||
gaps inner 5
|
gaps inner 2
|
||||||
gaps top 32
|
gaps top 32
|
||||||
|
|
||||||
assign [class="tidal-hifi"] 5
|
assign [class="tidal-hifi"] 5
|
||||||
assign [class="discord"] 5
|
assign [class="discord"] 5
|
||||||
|
assign [class="vesktop"] 5
|
||||||
assign [class="thunderbird"] 7
|
assign [class="thunderbird"] 7
|
||||||
|
|
||||||
# startup programs
|
# startup programs
|
||||||
|
|
|
@ -205,7 +205,7 @@ return {
|
||||||
vim.keymap.set("n", "<leader>wss", vim.lsp.buf.workspace_symbol, bufopts)
|
vim.keymap.set("n", "<leader>wss", vim.lsp.buf.workspace_symbol, bufopts)
|
||||||
vim.keymap.set("n", "gr", vim.lsp.buf.references, bufopts)
|
vim.keymap.set("n", "gr", vim.lsp.buf.references, bufopts)
|
||||||
-- vim.keymap.set('n', '<leader>fo', function() vim.lsp.buf.format { async = true } end, bufopts)
|
-- vim.keymap.set('n', '<leader>fo', function() vim.lsp.buf.format { async = true } end, bufopts)
|
||||||
vim.keymap.set("n", "<leader>fo", function()
|
vim.keymap.set({ "n", "v" }, "<leader>fo", function()
|
||||||
require("conform").format({ lsp_fallback = true })
|
require("conform").format({ lsp_fallback = true })
|
||||||
end, bufopts)
|
end, bufopts)
|
||||||
vim.keymap.set("i", "<C-s>", vim.lsp.buf.signature_help, bufopts)
|
vim.keymap.set("i", "<C-s>", vim.lsp.buf.signature_help, bufopts)
|
||||||
|
@ -245,7 +245,7 @@ return {
|
||||||
lspconfig.hls.setup({
|
lspconfig.hls.setup({
|
||||||
settings = {
|
settings = {
|
||||||
haskell = {
|
haskell = {
|
||||||
formattingProvider = "fourmolu",
|
formattingProvider = "fourmolu",
|
||||||
plugin = {
|
plugin = {
|
||||||
stan = { globalOn = false },
|
stan = { globalOn = false },
|
||||||
hlint = { config = { flags = { "--ignore=Eta reduce" } } },
|
hlint = { config = { flags = { "--ignore=Eta reduce" } } },
|
||||||
|
|
Loading…
Reference in a new issue