update
This commit is contained in:
parent
3246f5e822
commit
c409b9995e
5 changed files with 152 additions and 165 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
return {
|
return {
|
||||||
|
{
|
||||||
|
"LazyVim/LazyVim",
|
||||||
|
opts = {
|
||||||
|
colorscheme = "catppuccin-mocha",
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"catppuccin/nvim",
|
"catppuccin/nvim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
|
|
@ -45,9 +51,55 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"LazyVim/LazyVim",
|
"nvim-telescope/telescope.nvim",
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>fp",
|
||||||
|
function()
|
||||||
|
require("telescope.builtin").find_files({
|
||||||
|
cwd = require("lazy.core.config").options.root,
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
desc = "Find Plugin File",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- change some options
|
||||||
opts = {
|
opts = {
|
||||||
colorscheme = "catppuccin",
|
defaults = {
|
||||||
|
layout_strategy = "horizontal",
|
||||||
|
layout_config = { prompt_position = "top" },
|
||||||
|
sorting_strategy = "ascending",
|
||||||
|
winblend = 0,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"christoomey/vim-tmux-navigator",
|
||||||
|
lazy = false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
opts = {
|
||||||
|
ensure_installed = {
|
||||||
|
"bash",
|
||||||
|
"html",
|
||||||
|
"javascript",
|
||||||
|
"json",
|
||||||
|
"lua",
|
||||||
|
"markdown",
|
||||||
|
"markdown_inline",
|
||||||
|
"python",
|
||||||
|
"query",
|
||||||
|
"regex",
|
||||||
|
"tsx",
|
||||||
|
"typescript",
|
||||||
|
"vim",
|
||||||
|
"yaml",
|
||||||
|
"go",
|
||||||
|
"terraform",
|
||||||
|
"c_sharp",
|
||||||
|
"bash",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
28
.config/nvim/lua/plugins/mason.lua
Normal file
28
.config/nvim/lua/plugins/mason.lua
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"mason-org/mason.nvim",
|
||||||
|
version = "^1.0.0",
|
||||||
|
opts = {
|
||||||
|
ensure_installed = {
|
||||||
|
--"gopls",
|
||||||
|
--"rust-analyzer",
|
||||||
|
--"pyright",
|
||||||
|
--"mypy",
|
||||||
|
--"ruff",
|
||||||
|
--"black",
|
||||||
|
--"debugpy",
|
||||||
|
"powershell-editor-services",
|
||||||
|
"bash-language-server",
|
||||||
|
--"eslint-lsp",
|
||||||
|
--"js-debug-adapter",
|
||||||
|
--"prettier",
|
||||||
|
--"typescript-language-server",
|
||||||
|
--"stylua",
|
||||||
|
--"shellcheck",
|
||||||
|
--"shfmt",
|
||||||
|
--"flake8",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{ "mason-org/mason-lspconfig.nvim", version = "^1.0.0" },
|
||||||
|
}
|
||||||
|
|
@ -1,161 +1,64 @@
|
||||||
return {
|
return {
|
||||||
{
|
--{
|
||||||
"mason-org/mason.nvim",
|
-- "folke/trouble.nvim",
|
||||||
version = "^1.0.0",
|
-- opts = { use_diagnostic_signs = true },
|
||||||
opts = {
|
--},
|
||||||
ensure_installed = {
|
--{
|
||||||
"gopls",
|
-- "neovim/nvim-lspconfig",
|
||||||
"rust-analyzer",
|
-- ---@class PluginLspOpts
|
||||||
"pyright",
|
-- opts = {
|
||||||
"mypy",
|
-- servers = {
|
||||||
"ruff",
|
-- --pyright = {
|
||||||
"black",
|
-- -- filetypes = { "python" },
|
||||||
"debugpy",
|
-- --},
|
||||||
"powershell-editor-services",
|
-- gopls = {
|
||||||
"bash-language-server",
|
-- cmd = { "gopls" },
|
||||||
"eslint-lsp",
|
-- filetypes = { "go", "gomod", "gowork", "gotmpl" },
|
||||||
"js-debug-adapter",
|
-- --root_dir = util.root_pattern("go.work", "go.mod", ".git"),
|
||||||
"prettier",
|
-- settings = {
|
||||||
"typescript-language-server",
|
-- gopls = {
|
||||||
"stylua",
|
-- completeUnimported = true,
|
||||||
"shellcheck",
|
-- usePlaceholders = true,
|
||||||
"shfmt",
|
-- analyses = {
|
||||||
"flake8",
|
-- unusedparams = true,
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
{ "mason-org/mason-lspconfig.nvim", version = "^1.0.0" },
|
-- },
|
||||||
{
|
-- --tsserver = {},
|
||||||
"nvim-treesitter/nvim-treesitter",
|
-- powershell_es = {
|
||||||
opts = {
|
-- bundle_path = vim.fn.stdpath("data")
|
||||||
ensure_installed = {
|
-- .. "/mason/packages/powershell-editor-services",
|
||||||
"bash",
|
-- },
|
||||||
"html",
|
-- },
|
||||||
"javascript",
|
-- },
|
||||||
"json",
|
--},
|
||||||
"lua",
|
--{
|
||||||
"markdown",
|
-- "lewis6991/gitsigns.nvim",
|
||||||
"markdown_inline",
|
-- config = function()
|
||||||
"python",
|
-- require("gitsigns").setup()
|
||||||
"query",
|
-- end,
|
||||||
"regex",
|
--},
|
||||||
"tsx",
|
--{
|
||||||
"typescript",
|
-- "olexsmir/gopher.nvim",
|
||||||
"vim",
|
-- ft = "go",
|
||||||
"yaml",
|
-- config = function(_, opts)
|
||||||
"go",
|
-- require("gopher").setup(opts)
|
||||||
"terraform",
|
-- end,
|
||||||
"c_sharp",
|
-- build = function()
|
||||||
"bash",
|
-- vim.cmd([[silent! GoInstallDeps]])
|
||||||
},
|
-- end,
|
||||||
},
|
--},
|
||||||
},
|
--{
|
||||||
{
|
-- "MeanderingProgrammer/render-markdown.nvim",
|
||||||
"christoomey/vim-tmux-navigator",
|
-- dependencies = {
|
||||||
lazy = false,
|
-- "nvim-treesitter/nvim-treesitter",
|
||||||
},
|
-- "echasnovski/mini.nvim",
|
||||||
{
|
-- }, -- if you use the mini.nvim suite
|
||||||
"LazyVim/LazyVim",
|
-- ---@module 'render-markdown'
|
||||||
opts = {
|
-- ---@type render.md.UserConfig
|
||||||
colorscheme = "catppuccin-mocha",
|
-- opts = {},
|
||||||
},
|
--},
|
||||||
},
|
|
||||||
{
|
|
||||||
"catppuccin/nvim",
|
|
||||||
lazy = false,
|
|
||||||
name = "catppuccin",
|
|
||||||
opts = {},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"folke/trouble.nvim",
|
|
||||||
opts = { use_diagnostic_signs = true },
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"nvim-telescope/telescope.nvim",
|
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
"<leader>fp",
|
|
||||||
function()
|
|
||||||
require("telescope.builtin").find_files({
|
|
||||||
cwd = require("lazy.core.config").options.root,
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
desc = "Find Plugin File",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
-- change some options
|
|
||||||
opts = {
|
|
||||||
defaults = {
|
|
||||||
layout_strategy = "horizontal",
|
|
||||||
layout_config = { prompt_position = "top" },
|
|
||||||
sorting_strategy = "ascending",
|
|
||||||
winblend = 0,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"neovim/nvim-lspconfig",
|
|
||||||
---@class PluginLspOpts
|
|
||||||
opts = {
|
|
||||||
servers = {
|
|
||||||
pyright = {
|
|
||||||
filetypes = { "python" },
|
|
||||||
},
|
|
||||||
gopls = {
|
|
||||||
cmd = { "gopls" },
|
|
||||||
filetypes = { "go", "gomod", "gowork", "gotmpl" },
|
|
||||||
--root_dir = util.root_pattern("go.work", "go.mod", ".git"),
|
|
||||||
settings = {
|
|
||||||
gopls = {
|
|
||||||
completeUnimported = true,
|
|
||||||
usePlaceholders = true,
|
|
||||||
analyses = {
|
|
||||||
unusedparams = true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
tsserver = {},
|
|
||||||
powershell_es = {
|
|
||||||
bundle_path = vim.fn.stdpath("data")
|
|
||||||
.. "/mason/packages/powershell-editor-services",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"lewis6991/gitsigns.nvim",
|
|
||||||
config = function()
|
|
||||||
require("gitsigns").setup()
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"TheLeoP/powershell.nvim",
|
|
||||||
opts = {
|
|
||||||
bundle_path = vim.fn.stdpath("data")
|
|
||||||
.. "/man/packages/powershell-editor-services",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"olexsmir/gopher.nvim",
|
|
||||||
ft = "go",
|
|
||||||
config = function(_, opts)
|
|
||||||
require("gopher").setup(opts)
|
|
||||||
end,
|
|
||||||
build = function()
|
|
||||||
vim.cmd([[silent! GoInstallDeps]])
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"MeanderingProgrammer/render-markdown.nvim",
|
|
||||||
dependencies = {
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
"echasnovski/mini.nvim",
|
|
||||||
}, -- if you use the mini.nvim suite
|
|
||||||
---@module 'render-markdown'
|
|
||||||
---@type render.md.UserConfig
|
|
||||||
opts = {},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"mistweaverco/kulala.nvim",
|
"mistweaverco/kulala.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
|
|
@ -164,10 +67,6 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"folke/zen-mode.nvim",
|
"folke/zen-mode.nvim",
|
||||||
opts = {
|
opts = {},
|
||||||
-- your configuration comes here
|
|
||||||
-- or leave it empty to use the default settings
|
|
||||||
-- refer to the configuration section below
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
9
.config/nvim/lua/plugins/powershell.lua
Normal file
9
.config/nvim/lua/plugins/powershell.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"TheLeoP/powershell.nvim",
|
||||||
|
opts = {
|
||||||
|
bundle_path = vim.fn.stdpath("data")
|
||||||
|
.. "/man/packages/powershell-editor-services",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
bat
|
bat
|
||||||
opentofu
|
opentofu
|
||||||
helm
|
helm
|
||||||
ansible
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue