chore(nvim): added a few things to config

This commit is contained in:
Afonso Franco 2024-07-31 14:23:19 +01:00
parent dfad8fb88d
commit 91728df4b9
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
4 changed files with 40 additions and 9 deletions

View file

@ -6,4 +6,5 @@ return {
require("blame").setup()
end
},
}

View file

@ -111,7 +111,10 @@ return {
end,
settings = {
ltex = {
language = "pt-PT",
language = "en-GB",
},
additionalRules = {
enablePickyRules = true,
},
},
})
@ -190,8 +193,17 @@ return {
capabilities = capabilities,
filetypes = { 'haskell', 'lhaskell', 'cabal' },
})
lspconfig["sourcekit"].setup({
capabilities = capabilities,
})
end,
},
{
'mrcjkb/rustaceanvim',
version = '^4', -- Recommended
lazy = false, -- This plugin is already lazy
},
{
"stevearc/conform.nvim",
event = "VeryLazy",
@ -202,6 +214,7 @@ return {
haskell = { "fourmolu" },
javascript = { "prettierd" },
markdown = { "mdformat" },
rust = { "rustfmt" },
go = { "gofmt" },
json = { "jq" }
}

View file

@ -0,0 +1,25 @@
return {
{
'echasnovski/mini.ai',
version = false,
opts = {}
},
{
'echasnovski/mini.notify',
version = false,
config = function()
vim.api.nvim_set_hl(0, 'MiniNotifyNormal', { link = 'Normal' })
vim.api.nvim_set_hl(0, 'MiniNotifyBorder', { link = 'Normal' })
require("mini.notify").setup({
-- Window options
window = {
-- Floating window config
config = {},
-- Value of 'winblend' option
},
})
end
},
}

View file

@ -33,12 +33,4 @@ return {
},
},
},
{
"declancm/cinnamon.nvim",
event = "VeryLazy",
opts = {
scroll_limit = 10000,
always_scroll = true,
},
},
}