diff --git a/homes/modules/programs/neovim/lua/lsp/indentation.lua b/homes/modules/programs/neovim/lua/lsp/indentation.lua index ede4134..8516bad 100644 --- a/homes/modules/programs/neovim/lua/lsp/indentation.lua +++ b/homes/modules/programs/neovim/lua/lsp/indentation.lua @@ -1,5 +1,12 @@ vim.api.nvim_create_autocmd("FileType", { - pattern = { "lua", "nix", "gleam", "css", "json" }, + pattern = { + "lua", + "nix", + "gleam", + "css", + "json", + "haskell", + }, callback = function() vim.opt_local.shiftwidth = 2 vim.opt_local.tabstop = 2 @@ -8,7 +15,9 @@ vim.api.nvim_create_autocmd("FileType", { }) vim.api.nvim_create_autocmd("FileType", { - pattern = { "sql" }, + pattern = { + "sql", + }, callback = function() vim.opt_local.shiftwidth = 4 vim.opt_local.tabstop = 4 @@ -20,11 +29,20 @@ vim.api.nvim_create_autocmd("User", { pattern = "TelescopePreviewerLoaded", callback = function(args) local ft = args.data.filetype - if vim.tbl_contains({ "lua", "nix", "gleam", "css", "json" }, ft) then + if vim.tbl_contains({ + "lua", + "nix", + "gleam", + "css", + "json", + "haskell", + }, ft) then vim.bo.shiftwidth = 2 vim.bo.tabstop = 2 vim.bo.expandtab = true - elseif vim.tbl_contains({ "sql" }, ft) then + elseif vim.tbl_contains({ + "sql", + }, ft) then vim.bo.shiftwidth = 4 vim.bo.tabstop = 4 vim.bo.expandtab = true diff --git a/homes/modules/programs/nixcord.nix b/homes/modules/programs/nixcord.nix index 55d3cce..1ae1b7b 100644 --- a/homes/modules/programs/nixcord.nix +++ b/homes/modules/programs/nixcord.nix @@ -101,7 +101,6 @@ }; platformIndicators.enable = true; previewMessage.enable = true; - relationshipNotifier.enable = true; revealAllSpoilers.enable = true; serverInfo.enable = true; serverListIndicators.enable = true;