clean up plugins
This commit is contained in:
parent
4103cdc4d2
commit
babd4bc6f5
8 changed files with 96 additions and 68 deletions
|
@ -1,7 +0,0 @@
|
|||
return {
|
||||
'uloco/bluloco.nvim',
|
||||
dependencies = { 'rktjmp/lush.nvim' },
|
||||
opts = {
|
||||
italics = true,
|
||||
},
|
||||
}
|
14
lua/plugins/filetypes.lua
Normal file
14
lua/plugins/filetypes.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
{
|
||||
"ledger/vim-ledger",
|
||||
ft = "ledger",
|
||||
},
|
||||
{
|
||||
"nfnty/vim-nftables",
|
||||
ft = "nftables",
|
||||
},
|
||||
{
|
||||
"jvirtanen/vim-hocon",
|
||||
ft = "hocon",
|
||||
},
|
||||
}
|
|
@ -3,5 +3,9 @@ return {
|
|||
opts = {
|
||||
model = "mistral", -- The default model to use.
|
||||
init = false,
|
||||
}
|
||||
},
|
||||
cmd = "Gen",
|
||||
keys = {
|
||||
{ "<leader>llm", ":Gen<CR>", mode = "n" },
|
||||
},
|
||||
}
|
||||
|
|
|
@ -32,20 +32,18 @@ return {
|
|||
"folke/trouble.nvim",
|
||||
"folke/lsp-colors.nvim",
|
||||
"nvim-lua/popup.nvim",
|
||||
"junegunn/vim-easy-align",
|
||||
{
|
||||
"junegunn/vim-easy-align",
|
||||
keys = { { "<M-a>", "<Plug>(EasyAlign)", mode = { "n", "x" } } },
|
||||
},
|
||||
"machakann/vim-highlightedyank",
|
||||
"lambdalisue/suda.vim",
|
||||
"jamessan/vim-gnupg",
|
||||
"ledger/vim-ledger",
|
||||
"anekos/hledger-vim",
|
||||
|
||||
--"vim-pandoc/vim-pandoc",
|
||||
--"vim-pandoc/vim-pandoc-syntax",
|
||||
"isobit/vim-caddyfile",
|
||||
"Glench/Vim-Jinja2-Syntax",
|
||||
"GEverding/vim-hocon",
|
||||
"nfnty/vim-nftables",
|
||||
"nfnty/vim-nftables",
|
||||
"Everduin94/nvim-quick-switcher",
|
||||
}
|
||||
-- 'powerman/vim-plugin-AnsiEsc',
|
||||
|
|
|
@ -5,10 +5,10 @@ return {
|
|||
event = { "BufReadPre", "BufNewFile" },
|
||||
dependencies = {
|
||||
{ "folke/neoconf.nvim", cmd = "Neoconf", config = true },
|
||||
{ "folke/neodev.nvim", opts = {} },
|
||||
{ "folke/neodev.nvim", opts = {} },
|
||||
"mason.nvim",
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
'nvim-lua/lsp-status.nvim',
|
||||
"nvim-lua/lsp-status.nvim",
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
},
|
||||
---@class PluginLspOpts
|
||||
|
@ -29,7 +29,7 @@ return {
|
|||
severity_sort = true,
|
||||
},
|
||||
-- add any global capabilities here
|
||||
capabilities = { require 'lsp-status'.capabilities },
|
||||
capabilities = { require("lsp-status").capabilities },
|
||||
servers = {
|
||||
jsonls = {},
|
||||
lua_ls = {
|
||||
|
@ -49,12 +49,15 @@ return {
|
|||
settings = {
|
||||
pylsp = {
|
||||
plugins = {
|
||||
rope_autoimport = { enabled = true, },
|
||||
isort = { enabled = true, },
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
rope_autoimport = { enabled = true },
|
||||
isort = { enabled = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
lemminx = {
|
||||
settings = { xml = { server = { workDir = "~/.cache/lemminx" } } },
|
||||
},
|
||||
},
|
||||
-- you can do any additional lsp server setup here
|
||||
-- return true if you don't want this server to be setup with lspconfig
|
||||
|
@ -80,14 +83,14 @@ return {
|
|||
|
||||
if type(opts.diagnostics.virtual_text) == "table" and opts.diagnostics.virtual_text.prefix == "icons" then
|
||||
opts.diagnostics.virtual_text.prefix = vim.fn.has("nvim-0.10.0") == 0 and "●"
|
||||
or function(diagnostic)
|
||||
local icons = require("common").icons.diagnostics
|
||||
for d, icon in pairs(icons) do
|
||||
if diagnostic.severity == vim.diagnostic.severity[d:upper()] then
|
||||
return icon
|
||||
end
|
||||
or function(diagnostic)
|
||||
local icons = require("common").icons.diagnostics
|
||||
for d, icon in pairs(icons) do
|
||||
if diagnostic.severity == vim.diagnostic.severity[d:upper()] then
|
||||
return icon
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
vim.diagnostic.config(vim.deepcopy(opts.diagnostics))
|
||||
|
@ -174,12 +177,12 @@ return {
|
|||
end
|
||||
end,
|
||||
},
|
||||
'mfussenegger/nvim-jdtls',
|
||||
"mfussenegger/nvim-jdtls",
|
||||
{
|
||||
'nvim-lua/lsp-status.nvim',
|
||||
"nvim-lua/lsp-status.nvim",
|
||||
config = function(_, opts)
|
||||
local lsp_status = require('lsp-status')
|
||||
local lsp_status = require("lsp-status")
|
||||
lsp_status.register_progress()
|
||||
end
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
return {
|
||||
'rktjmp/lush.nvim',
|
||||
'rktjmp/shipwright.nvim',
|
||||
"rktjmp/lush.nvim",
|
||||
cmd = {
|
||||
"Lushify",
|
||||
"LushImport",
|
||||
"LushRunTutorial",
|
||||
},
|
||||
dependencies = {
|
||||
"rktjmp/shipwright.nvim",
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue