chore(nvim): added a few things to config
This commit is contained in:
parent
dfad8fb88d
commit
91728df4b9
4 changed files with 40 additions and 9 deletions
|
@ -6,4 +6,5 @@ return {
|
||||||
require("blame").setup()
|
require("blame").setup()
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -111,7 +111,10 @@ return {
|
||||||
end,
|
end,
|
||||||
settings = {
|
settings = {
|
||||||
ltex = {
|
ltex = {
|
||||||
language = "pt-PT",
|
language = "en-GB",
|
||||||
|
},
|
||||||
|
additionalRules = {
|
||||||
|
enablePickyRules = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
@ -190,8 +193,17 @@ return {
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
filetypes = { 'haskell', 'lhaskell', 'cabal' },
|
filetypes = { 'haskell', 'lhaskell', 'cabal' },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
lspconfig["sourcekit"].setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'mrcjkb/rustaceanvim',
|
||||||
|
version = '^4', -- Recommended
|
||||||
|
lazy = false, -- This plugin is already lazy
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"stevearc/conform.nvim",
|
"stevearc/conform.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
@ -202,6 +214,7 @@ return {
|
||||||
haskell = { "fourmolu" },
|
haskell = { "fourmolu" },
|
||||||
javascript = { "prettierd" },
|
javascript = { "prettierd" },
|
||||||
markdown = { "mdformat" },
|
markdown = { "mdformat" },
|
||||||
|
rust = { "rustfmt" },
|
||||||
go = { "gofmt" },
|
go = { "gofmt" },
|
||||||
json = { "jq" }
|
json = { "jq" }
|
||||||
}
|
}
|
||||||
|
|
25
.config/nvim/lua/plugins/mini.lua
Normal file
25
.config/nvim/lua/plugins/mini.lua
Normal 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
|
||||||
|
},
|
||||||
|
}
|
|
@ -33,12 +33,4 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"declancm/cinnamon.nvim",
|
|
||||||
event = "VeryLazy",
|
|
||||||
opts = {
|
|
||||||
scroll_limit = 10000,
|
|
||||||
always_scroll = true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue