aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68/plugins
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2026-04-04 03:16:27 +0200
committerPolesznyák Márk <contact@pml68.dev>2026-04-04 10:12:16 +0200
commit8bb513a86e8bea07fdb8cea71d254d46ffc7806b (patch)
tree745bd411d173e4da9355b214dc74edde08f42692 /lua/pml68/plugins
parentfeat: enable ui2, add back LspLog command (diff)
downloadnvim-8bb513a86e8bea07fdb8cea71d254d46ffc7806b.tar.gz
feat!: migrate to vim.pack
Diffstat (limited to '')
-rw-r--r--lua/pml68/plugins/colors.lua31
-rw-r--r--lua/pml68/plugins/completion.lua35
-rw-r--r--lua/pml68/plugins/git.lua22
-rw-r--r--lua/pml68/plugins/guard.lua25
-rw-r--r--lua/pml68/plugins/lang-specific.lua62
-rw-r--r--lua/pml68/plugins/lsp.lua22
-rw-r--r--lua/pml68/plugins/misc.lua19
-rw-r--r--lua/pml68/plugins/oil.lua29
-rw-r--r--lua/pml68/plugins/other.lua26
-rw-r--r--lua/pml68/plugins/telescope.lua17
-rw-r--r--lua/pml68/plugins/treesitter.lua68
11 files changed, 0 insertions, 356 deletions
diff --git a/lua/pml68/plugins/colors.lua b/lua/pml68/plugins/colors.lua
deleted file mode 100644
index 17a1ca1..0000000
--- a/lua/pml68/plugins/colors.lua
+++ /dev/null
@@ -1,31 +0,0 @@
-return {
- {
- "uga-rosa/ccc.nvim",
- event = { "BufReadPost", "BufNewFile" },
- opts = {
- highlighter = {
- auto_enable = true,
- lsp = true,
- },
- },
- },
- {
- "pml68/rosepine-tmuxed",
- name = "rose-pine",
- priority = 1000,
- lazy = false,
- config = function()
- require("rose-pine").setup({
- styles = {
- transparency = true,
- italic = false,
- },
- highlight_groups = {
- StatusLine = { fg = "iris", bg = "iris", blend = 25 },
- StatusLineNC = { fg = "subtle", bg = "surface" },
- },
- })
- vim.cmd("colorscheme rose-pine")
- end
- },
-}
diff --git a/lua/pml68/plugins/completion.lua b/lua/pml68/plugins/completion.lua
deleted file mode 100644
index 596b1af..0000000
--- a/lua/pml68/plugins/completion.lua
+++ /dev/null
@@ -1,35 +0,0 @@
-return {
- {
- "saghen/blink.compat",
- version = "2.*",
- opts = {}
- },
- {
- "saghen/blink.cmp",
- lazy = false,
- version = "1.*",
- opts = {
- keymap = { preset = "default" },
- appearance = {
- nerd_font_variant = "normal",
- },
- completion = {
- documentation = {
- auto_show = true,
- auto_show_delay_ms = 150,
- },
- },
- sources = {
- default = { "lsp", "path", "vimtex", "buffer" },
- providers = {
- vimtex = {
- name = "vimtex",
- module = "blink.compat.source",
- },
- },
- },
- cmdline = { enabled = false },
- signature = { enabled = true },
- },
- },
-}
diff --git a/lua/pml68/plugins/git.lua b/lua/pml68/plugins/git.lua
deleted file mode 100644
index e94c230..0000000
--- a/lua/pml68/plugins/git.lua
+++ /dev/null
@@ -1,22 +0,0 @@
-return {
- "lewis6991/gitsigns.nvim",
- event = { "BufReadPost", "BufNewFile" },
- config = function()
- require("gitsigns").setup({
- signs = {
- add = { text = "│" },
- change = { text = "│" },
- delete = { text = "󰍵" },
- topdelete = { text = "‾" },
- changedelete = { text = "~" },
- untracked = { text = "│" },
- },
- on_attach = function(bufnr)
- local gs = package.loaded.gitsigns
-
- vim.keymap.set("n", "<leader>gb", gs.blame_line, { buffer = bufnr })
- vim.keymap.set("n", "<leader>gr", gs.reset_hunk, { buffer = bufnr })
- end,
- })
- end
-}
diff --git a/lua/pml68/plugins/guard.lua b/lua/pml68/plugins/guard.lua
deleted file mode 100644
index 7f609de..0000000
--- a/lua/pml68/plugins/guard.lua
+++ /dev/null
@@ -1,25 +0,0 @@
-return {
- "nvimdev/guard.nvim",
- dependencies = {
- "nvimdev/guard-collection"
- },
- ft = { "c", "cpp", "h", "toml", "json", "go", "lua" },
- config = function()
- local ft = require("guard.filetype")
-
- ft("c,cpp,h"):fmt("clang-format")
- ft("toml"):fmt("taplo")
- ft("json"):fmt("jq")
-
- ft("go"):fmt({
- cmd = "golines",
- args = { "--max-len=80", "--base-formatter=gofumpt" },
- stdin = true,
- })
-
- vim.g.guard_config = {
- fmt_on_save = true,
- lsp_as_default_formatter = true,
- }
- end
-}
diff --git a/lua/pml68/plugins/lang-specific.lua b/lua/pml68/plugins/lang-specific.lua
deleted file mode 100644
index b1eff88..0000000
--- a/lua/pml68/plugins/lang-specific.lua
+++ /dev/null
@@ -1,62 +0,0 @@
-return {
- -- JSON
- {
- "b0o/schemastore.nvim",
- lazy = false,
- },
- -- Java
- {
- "mfussenegger/nvim-jdtls"
- },
- -- Go
- {
- "olexsmir/gopher.nvim",
- ft = "go",
- build = ":GoInstallDeps",
- },
- -- Rust
- {
- "rust-lang/rust.vim",
- ft = "rust",
- init = function()
- vim.g.rustfmt_autosave = 1
- end,
- config = function()
- vim.keymap.set("n", "<leader>rts", "<cmd>RustTest<CR>")
- vim.keymap.set("n", "<leader>rta", "<cmd>RustTest!<CR>")
- end
- },
- {
- "saecki/crates.nvim",
- event = { "BufRead Cargo.toml", "BufWrite Cargo.toml" },
- config = function()
- local crates = require("crates")
- crates.setup({
- lsp = {
- enabled = true,
- actions = true,
- completion = true,
- hover = true,
- },
- })
-
- vim.keymap.set("n", "<leader>rcu", function()
- crates.upgrade_all_crates()
- end)
- end
- },
- -- LaTeX
- {
- "lervag/vimtex",
- dependencies = "micangl/cmp-vimtex",
- ft = "tex",
- init = function()
- vim.g.vimtex_view_method = 'mupdf'
- end,
- },
- -- Hare
- {
- url = "git://git.pml68.dev/vim-haredoc",
- ft = "hare",
- },
-}
diff --git a/lua/pml68/plugins/lsp.lua b/lua/pml68/plugins/lsp.lua
deleted file mode 100644
index 999320e..0000000
--- a/lua/pml68/plugins/lsp.lua
+++ /dev/null
@@ -1,22 +0,0 @@
-return {
- {
- "neovim/nvim-lspconfig",
- event = { "BufReadPost", "BufNewFile" },
- },
- {
- "mason-org/mason.nvim",
- cmd = { "Mason", "MasonInstall", "MasonInstallAll", "MasonUninstall", "MasonUninstallAll", "MasonUpdate", "MasonLog" },
- opts = function()
- return require("pml68.configs.mason")
- end,
- config = function(_, opts)
- require("mason").setup(opts)
- vim.api.nvim_create_user_command("MasonInstallAll", function()
- if opts.ensure_installed and #opts.ensure_installed > 0 then
- vim.cmd("MasonInstall " .. table.concat(opts.ensure_installed, " "))
- end
- end, {})
- end,
- build = ":MasonInstallAll",
- },
-}
diff --git a/lua/pml68/plugins/misc.lua b/lua/pml68/plugins/misc.lua
deleted file mode 100644
index 1e0aec3..0000000
--- a/lua/pml68/plugins/misc.lua
+++ /dev/null
@@ -1,19 +0,0 @@
-return {
- {
- "andweeb/presence.nvim",
- event = { "BufReadPost", "BufNewFile" },
- opts = {
- main_image = "file",
- },
- },
- {
- "NStefan002/screenkey.nvim",
- cmd = "Screenkey",
- version = "*",
- config = true
- },
- {
- "eandrju/cellular-automaton.nvim",
- cmd = "CellularAutomaton",
- },
-}
diff --git a/lua/pml68/plugins/oil.lua b/lua/pml68/plugins/oil.lua
deleted file mode 100644
index 974f94f..0000000
--- a/lua/pml68/plugins/oil.lua
+++ /dev/null
@@ -1,29 +0,0 @@
-return {
- "stevearc/oil.nvim",
- cmd = "Oil",
- config = function()
- require("oil").setup({
- keymaps = {
- ["<C-h>"] = false,
- },
- view_options = {
- show_hidden = true,
- natural_order = true,
- is_always_hidden = function(name, _)
- return name == '.git' or name == "node_modules" or name == "target"
- end
- },
- float = {
- padding = 2,
- max_width = 50,
- max_height = 0,
- border = "single",
- win_options = {
- winblend = 0,
- },
- },
- skip_confirm_for_simple_edits = true,
- default_file_explorer = true,
- })
- end
-}
diff --git a/lua/pml68/plugins/other.lua b/lua/pml68/plugins/other.lua
deleted file mode 100644
index d415f0b..0000000
--- a/lua/pml68/plugins/other.lua
+++ /dev/null
@@ -1,26 +0,0 @@
-return {
- {
- "NStefan002/visual-surround.nvim",
- event = { "BufReadPost", "BufNewFile" },
- config = true,
- },
- {
- "christoomey/vim-tmux-navigator",
- lazy = false,
- },
- {
- "artemave/workspace-diagnostics.nvim",
- },
- {
- "lukas-reineke/indent-blankline.nvim",
- main = "ibl",
- event = { "BufReadPost", "BufNewFile" },
- config = function()
- require("ibl").setup()
- end
- },
- {
- "stevearc/dressing.nvim",
- event = "VeryLazy",
- },
-}
diff --git a/lua/pml68/plugins/telescope.lua b/lua/pml68/plugins/telescope.lua
deleted file mode 100644
index ccc0488..0000000
--- a/lua/pml68/plugins/telescope.lua
+++ /dev/null
@@ -1,17 +0,0 @@
-return {
- "nvim-telescope/telescope.nvim",
- tag = "v0.2.1",
- cmd = "Telescope",
- dependencies = {
- "nvim-lua/plenary.nvim",
- "nvim-telescope/telescope-fzf-native.nvim",
- },
- opts = {
- pickers = {
- find_files = {
- hidden = true,
- find_command = { "rg", "--files", "--hidden", "--glob", "!**/.git/**" },
- },
- },
- },
-}
diff --git a/lua/pml68/plugins/treesitter.lua b/lua/pml68/plugins/treesitter.lua
deleted file mode 100644
index 6416f1f..0000000
--- a/lua/pml68/plugins/treesitter.lua
+++ /dev/null
@@ -1,68 +0,0 @@
-return {
- "nvim-treesitter/nvim-treesitter",
- lazy = false,
- build = ":TSUpdate",
- config = function()
- local ts = require("nvim-treesitter")
-
- local ensure_installed = {
- "asm",
- "bash",
- "c",
- "c_sharp",
- "cpp",
- "css",
- "git_config",
- "gitattributes",
- "gitcommit",
- "gitignore",
- "glsl",
- "go",
- "gomod",
- "gosum",
- "gotmpl",
- "gowork",
- "hare",
- "html",
- "java",
- "javascript",
- "json",
- "kotlin",
- "lua",
- "make",
- "markdown",
- "markdown_inline",
- "python",
- "rust",
- "scss",
- "svelte",
- "typescript",
- "vim",
- "vimdoc",
- "yaml",
- }
-
- ts.install(ensure_installed, {
- max_jobs = 12,
- summary = false,
- })
-
- local ignore = {
- "checkhealth",
- "lazy",
- "mason",
- "TelescopePrompt",
- }
-
- vim.api.nvim_create_autocmd("FileType", {
- group = vim.api.nvim_create_augroup("EnableTreesitterHighlighting", { clear = true }),
- callback = function(event)
- if vim.tbl_contains(ignore, event.match) then
- return
- end
-
- pcall(function() vim.treesitter.start(event.buf) end)
- end
- })
- end
-}