Compare commits
10
Commits
803bc181d7
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e67ac43682 | ||
|
|
5c6a1f8a14 | ||
|
|
29ec24a1f9 | ||
|
|
a4c4482840 | ||
|
|
1167bad460 | ||
|
|
411e02a5a9 | ||
|
|
871771340e | ||
|
|
c333c03a02 | ||
|
|
f918de55a5 | ||
|
|
0f6e782771 |
@@ -1,2 +1,9 @@
|
|||||||
-- bootstrap lazy.nvim, LazyVim and your plugins
|
-- bootstrap lazy.nvim, LazyVim and your plugins
|
||||||
require("config.lazy")
|
require("config.lazy")
|
||||||
|
require("config.macros")
|
||||||
|
|
||||||
|
vim.opt.swapfile = false
|
||||||
|
vim.opt.number = true
|
||||||
|
vim.opt.relativenumber = true
|
||||||
|
|
||||||
|
vim.keymap.set("i", "<S-CR>", "\\n", { desc = "Insert literal newline" })
|
||||||
|
|||||||
@@ -0,0 +1,43 @@
|
|||||||
|
{
|
||||||
|
"LazyVim": { "branch": "main", "commit": "561da43c435f330674c9b18bb335be7e1126d928" },
|
||||||
|
"SchemaStore.nvim": { "branch": "main", "commit": "aa25399c48236b77af71d4b64cdf157d2ba4e990" },
|
||||||
|
"blink.cmp": { "branch": "main", "commit": "327fff91fe6af358e990be7be1ec8b78037d2138" },
|
||||||
|
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
||||||
|
"catppuccin": { "branch": "main", "commit": "af58927c55c9f3272c940ff02b3cee94a1249f26" },
|
||||||
|
"conform.nvim": { "branch": "master", "commit": "9fd3d5e0b689ec1bf400c53cbbec72c6fdf24081" },
|
||||||
|
"flash.nvim": { "branch": "main", "commit": "3be9bf7e85550045ec576379a0c45aac144d0438" },
|
||||||
|
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
|
||||||
|
"gitsigns.nvim": { "branch": "main", "commit": "20ad4419564d6e22b189f6738116b38871082332" },
|
||||||
|
"grug-far.nvim": { "branch": "main", "commit": "3e72397465f774b01aa38e4fe8e6eecf23d766d9" },
|
||||||
|
"lazy.nvim": { "branch": "main", "commit": "db067881fff0fd4be8c00e5bde7492e0e1c77a2f" },
|
||||||
|
"lazydev.nvim": { "branch": "main", "commit": "01bc2aacd51cf9021eb19d048e70ce3dd09f7f93" },
|
||||||
|
"lualine.nvim": { "branch": "master", "commit": "3946f0122255bc377d14a59b27b609fb3ab25768" },
|
||||||
|
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
|
||||||
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "2304ff65ecc8cb2afc2484de3e2ed9a407edf0b9" },
|
||||||
|
"mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" },
|
||||||
|
"mini.ai": { "branch": "main", "commit": "11c57180bc9084089206e211ac7aa598bedc9673" },
|
||||||
|
"mini.icons": { "branch": "main", "commit": "284798619aed9f4c1ac1b9417b9a5e3b4b85ef3a" },
|
||||||
|
"mini.pairs": { "branch": "main", "commit": "b9aada8c0e59f2b938e98fbf4eae0799eba96ad9" },
|
||||||
|
"noice.nvim": { "branch": "main", "commit": "c86aea584d98be7ee1167ce4d4ef946fbd7f3ae0" },
|
||||||
|
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||||
|
"nvim-lint": { "branch": "master", "commit": "9da1fb942dd0668d5182f9c8dee801b9c190e2bb" },
|
||||||
|
"nvim-lspconfig": { "branch": "master", "commit": "ac98db2f9f06a56498ec890a96928774eae412c3" },
|
||||||
|
"nvim-surround": { "branch": "main", "commit": "a868c256c861044beb9794b4dd126480dcdfbdad" },
|
||||||
|
"nvim-treesitter": { "branch": "main", "commit": "8fecb462580ec0794a803b1d6ff9e2c4896c3e6f" },
|
||||||
|
"nvim-treesitter-textobjects": { "branch": "main", "commit": "1b2d85d3de6114c4bcea89ffb2cd1ce9e3a19931" },
|
||||||
|
"nvim-ts-autotag": { "branch": "main", "commit": "c4ca798ab95b316a768d51eaaaee48f64a4a46bc" },
|
||||||
|
"opencode.nvim": { "branch": "main", "commit": "1661a972394f586261e0eb95b001c2d877125532" },
|
||||||
|
"persistence.nvim": { "branch": "main", "commit": "51eef57272742b773468949f6bd0503ec3f83874" },
|
||||||
|
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||||
|
"render-markdown.nvim": { "branch": "main", "commit": "10126effbafb74541b69219711dfb2c631e7ebf8" },
|
||||||
|
"snacks.nvim": { "branch": "main", "commit": "bebf0bd38e3e7071abc4085ad46f1ebc32cdfe17" },
|
||||||
|
"supermaven-nvim": { "branch": "main", "commit": "07d20fce48a5629686aefb0a7cd4b25e33947d50" },
|
||||||
|
"todo-comments.nvim": { "branch": "main", "commit": "19d461ddd543e938eb22505fb03fa878800270b6" },
|
||||||
|
"tokyonight.nvim": { "branch": "main", "commit": "d14614cbfc63b6037bfccd48bb982d2ad2003352" },
|
||||||
|
"trouble.nvim": { "branch": "main", "commit": "c098362fe603d3922095e7db595961e020bdf2d0" },
|
||||||
|
"ts-comments.nvim": { "branch": "main", "commit": "217ab9cc137fceb6659b53790bd25e608219abe1" },
|
||||||
|
"vim-dadbod": { "branch": "master", "commit": "e95afed23712f969f83b4857a24cf9d59114c2e6" },
|
||||||
|
"vim-dadbod-completion": { "branch": "master", "commit": "a8dac0b3cf6132c80dc9b18bef36d4cf7a9e1fe6" },
|
||||||
|
"vim-dadbod-ui": { "branch": "master", "commit": "48c4f271da13d380592f4907e2d1d5558044e4e5" },
|
||||||
|
"which-key.nvim": { "branch": "main", "commit": "b4177e3eaf15fe5eb8357ebac2286d488be1ed00" }
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"extras": [
|
||||||
|
"lazyvim.plugins.extras.lang.astro",
|
||||||
|
"lazyvim.plugins.extras.lang.json",
|
||||||
|
"lazyvim.plugins.extras.lang.markdown",
|
||||||
|
"lazyvim.plugins.extras.lang.sql",
|
||||||
|
"lazyvim.plugins.extras.lang.tailwind",
|
||||||
|
"lazyvim.plugins.extras.lang.toml"
|
||||||
|
],
|
||||||
|
"install_version": 8,
|
||||||
|
"news": {
|
||||||
|
"NEWS.md": "11866"
|
||||||
|
},
|
||||||
|
"version": 8
|
||||||
|
}
|
||||||
+51
-1
@@ -1,3 +1,53 @@
|
|||||||
-- Keymaps are automatically loaded on the VeryLazy event
|
-- Keymaps are automatically loaded on the VeryLazy event
|
||||||
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
|
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
|
||||||
-- Add any additional keymaps here
|
-- Add any addtional keymaps here
|
||||||
|
--
|
||||||
|
-- vim.keymap.set("n", "<C-S-p>", function()
|
||||||
|
-- Snacks.explorer.open()
|
||||||
|
-- vim.schedule(function()
|
||||||
|
-- vim.api.nvim_feedkeys("/", "m", false)
|
||||||
|
-- end)
|
||||||
|
-- end, { desc = "Focus Explorer search" })
|
||||||
|
--
|
||||||
|
|
||||||
|
-- local map = vim.keymap.set
|
||||||
|
-- local function has_cmd(cmd)
|
||||||
|
-- return vim.fn.exists(":" .. cmd) == 2
|
||||||
|
-- end
|
||||||
|
--
|
||||||
|
-- -- Ctrl+P → open your file explorer (auto-detect)
|
||||||
|
-- if has_cmd("Neotree") then
|
||||||
|
-- map("n", "<C-p>", "<cmd>Neotree toggle reveal<cr>", { desc = "Explorer (Neo-tree)" })
|
||||||
|
-- elseif has_cmd("NvimTreeToggle") then
|
||||||
|
-- map("n", "<C-p>", "<cmd>NvimTreeFindFileToggle<cr>", { desc = "Explorer (nvim-tree)" })
|
||||||
|
-- elseif has_cmd("Oil") then
|
||||||
|
-- map("n", "<C-p>", "<cmd>Oil --float<cr>", { desc = "Explorer (Oil)" })
|
||||||
|
-- else
|
||||||
|
-- map("n", "<C-p>", "<cmd>Ex<cr>", { desc = "Explorer (netrw)" }) -- built-in
|
||||||
|
-- end
|
||||||
|
--
|
||||||
|
-- -- Ctrl+Shift+P → "command palette"
|
||||||
|
-- -- Many terminals don't send <C-S-p>, so keep <leader>P as a reliable fallback.
|
||||||
|
-- if has_cmd("WhichKey") then
|
||||||
|
-- map("n", "<C-S-p>", "<cmd>WhichKey<cr>", { desc = "Command Palette" })
|
||||||
|
-- map("n", "<leader>P", "<cmd>WhichKey<cr>", { desc = "Command Palette [fallback]" })
|
||||||
|
-- elseif has_cmd("Telescope") then
|
||||||
|
-- map("n", "<C-S-p>", "<cmd>Telescope commands<cr>", { desc = "Command Palette" })
|
||||||
|
-- map("n", "<leader>P", "<cmd>Telescope commands<cr>", { desc = "Command Palette [fallback]" })
|
||||||
|
-- end
|
||||||
|
|
||||||
|
-- Copy the current file's path to the system clipboard.
|
||||||
|
-- <leader>yp = relative to cwd, <leader>yP = absolute.
|
||||||
|
-- Writes to the "+" register, which LazyVim binds to the system clipboard via
|
||||||
|
-- clipboard=unnamedplus, so these land in the OS clipboard directly.
|
||||||
|
vim.keymap.set("n", "<leader>yp", function()
|
||||||
|
local relative_path = vim.fn.expand("%:~:.")
|
||||||
|
vim.fn.setreg("+", relative_path)
|
||||||
|
vim.notify("Copied relative path: " .. relative_path)
|
||||||
|
end, { desc = "Copy relative file path" })
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<leader>yP", function()
|
||||||
|
local absolute_path = vim.fn.expand("%:p")
|
||||||
|
vim.fn.setreg("+", absolute_path)
|
||||||
|
vim.notify("Copied absolute path: " .. absolute_path)
|
||||||
|
end, { desc = "Copy absolute file path" })
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
local esc = vim.api.nvim_replace_termcodes("<Esc>", true, true, true)
|
||||||
|
|
||||||
|
-- reload the macros
|
||||||
|
vim.keymap.set("n", "<leader>krm", "<cmd>source ~/.config/nvim/lua/config/macros.lua<cr>", { desc = "Reload macros" })
|
||||||
|
|
||||||
|
vim.fn.setreg("l", "yoconsole.log('" .. esc .. "pla, " .. esc .. "pA;" .. esc .. "")
|
||||||
@@ -1,3 +1,34 @@
|
|||||||
|
require("config.remote_clipboard").setup()
|
||||||
-- Options are automatically loaded before lazy.nvim startup
|
-- Options are automatically loaded before lazy.nvim startup
|
||||||
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||||
-- Add any additional options here
|
-- Add any additional options here
|
||||||
|
|
||||||
|
-- Make unused code more readable
|
||||||
|
vim.diagnostic.config({
|
||||||
|
signs = {
|
||||||
|
text = {
|
||||||
|
[vim.diagnostic.severity.WARN] = "",
|
||||||
|
[vim.diagnostic.severity.INFO] = "",
|
||||||
|
[vim.diagnostic.severity.HINT] = "",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
underline = {
|
||||||
|
severity = { min = vim.diagnostic.severity.ERROR },
|
||||||
|
},
|
||||||
|
virtual_text = {
|
||||||
|
prefix = "",
|
||||||
|
spacing = 4,
|
||||||
|
source = "if_many",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Disable annoying signature help popup completely
|
||||||
|
vim.lsp.handlers["textDocument/signatureHelp"] = function() end
|
||||||
|
vim.api.nvim_create_autocmd("LspAttach", {
|
||||||
|
callback = function(args)
|
||||||
|
local client = vim.lsp.get_client_by_id(args.data.client_id)
|
||||||
|
if client then
|
||||||
|
client.server_capabilities.signatureHelpProvider = nil
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|||||||
@@ -0,0 +1,99 @@
|
|||||||
|
-- Clipboard for sessions whose yanks may need to reach another machine:
|
||||||
|
-- every copy is emitted as OSC 52 (inside tmux this becomes a tmux buffer,
|
||||||
|
-- rebroadcast to every attached client, local or SSH). Paste prefers the
|
||||||
|
-- local Wayland clipboard when one is available, so content copied in other
|
||||||
|
-- apps remains pasteable; without a display, paste is an OSC 52 query that
|
||||||
|
-- tmux (or the terminal) answers.
|
||||||
|
local M = {}
|
||||||
|
|
||||||
|
local function proc_lines(pid, file)
|
||||||
|
local ok, lines = pcall(vim.fn.readfile, "/proc/" .. pid .. "/" .. file)
|
||||||
|
return ok and lines or {}
|
||||||
|
end
|
||||||
|
|
||||||
|
local function proc_ppid(pid)
|
||||||
|
for _, line in ipairs(proc_lines(pid, "status")) do
|
||||||
|
local ppid = line:match("^PPid:%s+(%d+)")
|
||||||
|
if ppid then
|
||||||
|
return tonumber(ppid)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
local function ancestor_process_named(name)
|
||||||
|
local pid = vim.fn.getpid()
|
||||||
|
|
||||||
|
for _ = 1, 16 do
|
||||||
|
local ppid = proc_ppid(pid)
|
||||||
|
if not ppid or ppid <= 1 then
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
|
local comm = proc_lines(ppid, "comm")[1] or ""
|
||||||
|
if comm:find(name, 1, true) then
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
|
||||||
|
pid = ppid
|
||||||
|
end
|
||||||
|
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
|
function M.setup()
|
||||||
|
local in_tmux = vim.env.TMUX ~= nil
|
||||||
|
local in_ssh = vim.env.SSH_TTY ~= nil or vim.env.SSH_CONNECTION ~= nil
|
||||||
|
local in_herdr = vim.env.HERDR_PANE_ID ~= nil or ancestor_process_named("herdr")
|
||||||
|
|
||||||
|
if not (in_tmux or in_ssh or in_herdr) then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
local osc52 = require("vim.ui.clipboard.osc52")
|
||||||
|
local has_wayland = vim.env.WAYLAND_DISPLAY ~= nil
|
||||||
|
and vim.fn.executable("wl-copy") == 1
|
||||||
|
and vim.fn.executable("wl-paste") == 1
|
||||||
|
|
||||||
|
local function copy(register)
|
||||||
|
local emit = osc52.copy(register)
|
||||||
|
|
||||||
|
return function(lines)
|
||||||
|
if has_wayland then
|
||||||
|
local cmd = { "wl-copy", "--sensitive", "--type", "text/plain" }
|
||||||
|
if register == "*" then
|
||||||
|
cmd[#cmd + 1] = "--primary"
|
||||||
|
end
|
||||||
|
vim.fn.system(cmd, lines)
|
||||||
|
end
|
||||||
|
|
||||||
|
if vim.g.omarchy_remote_clipboard_osc52 ~= false then
|
||||||
|
emit(lines)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
local function paste(register)
|
||||||
|
if not has_wayland then
|
||||||
|
return osc52.paste(register)
|
||||||
|
end
|
||||||
|
|
||||||
|
return function()
|
||||||
|
local cmd = { "wl-paste", "--no-newline" }
|
||||||
|
if register == "*" then
|
||||||
|
cmd[#cmd + 1] = "--primary"
|
||||||
|
end
|
||||||
|
|
||||||
|
local lines = vim.fn.systemlist(cmd, "", 1)
|
||||||
|
return vim.v.shell_error == 0 and lines or {}
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
vim.g.clipboard = {
|
||||||
|
name = "OmarchyRemoteClipboard",
|
||||||
|
copy = { ["+"] = copy("+"), ["*"] = copy("*") },
|
||||||
|
paste = { ["+"] = paste("+"), ["*"] = paste("*") },
|
||||||
|
cache_enabled = 0,
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
return M
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
return {
|
||||||
|
-- Set your colorscheme
|
||||||
|
{
|
||||||
|
"LazyVim/LazyVim",
|
||||||
|
opts = {
|
||||||
|
colorscheme = "tokyonight",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Customize tokyonight colors
|
||||||
|
{
|
||||||
|
"folke/tokyonight.nvim",
|
||||||
|
opts = {
|
||||||
|
on_colors = function(colors)
|
||||||
|
-- You can customize base colors here if needed
|
||||||
|
end,
|
||||||
|
on_highlights = function(highlights, colors)
|
||||||
|
-- Make comments lighter gray
|
||||||
|
highlights.Comment = { fg = "#7d8aa0", bg = "NONE" } -- Lighter gray
|
||||||
|
highlights["@comment"] = { fg = "#7d8aa0", bg = "NONE" }
|
||||||
|
highlights["@comment.todo"] = { fg = "#7d8aa0", bg = "NONE" }
|
||||||
|
highlights["@comment.note"] = { fg = "#7d8aa0", bg = "NONE" }
|
||||||
|
highlights["@comment.warning"] = { fg = "#7d8aa0", bg = "NONE" }
|
||||||
|
highlights["@comment.error"] = { fg = "#7d8aa0", bg = "NONE" }
|
||||||
|
|
||||||
|
-- Completely disable unused/deprecated highlighting to preserve normal syntax
|
||||||
|
highlights.DiagnosticUnnecessary = {}
|
||||||
|
highlights.LspDiagnosticsUnnecessary = {}
|
||||||
|
highlights["@lsp.type.comment"] = {}
|
||||||
|
highlights.Deprecated = {}
|
||||||
|
highlights["@deprecated"] = {}
|
||||||
|
|
||||||
|
-- Make inlay hints very light gray
|
||||||
|
highlights.LspInlayHint = { fg = "#565f89", bg = "NONE" }
|
||||||
|
highlights["@lsp.inlayHint"] = { fg = "#565f89", bg = "NONE" }
|
||||||
|
highlights.InlayHint = { fg = "#565f89", bg = "NONE" }
|
||||||
|
highlights["@inlayHint"] = { fg = "#565f89", bg = "NONE" }
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
return {
|
||||||
|
"LazyVim/LazyVim",
|
||||||
|
opts = {
|
||||||
|
news = {
|
||||||
|
lazyvim = false,
|
||||||
|
neovim = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -184,7 +184,7 @@ return {
|
|||||||
|
|
||||||
-- add any tools you want to have installed below
|
-- add any tools you want to have installed below
|
||||||
{
|
{
|
||||||
"williamboman/mason.nvim",
|
"mason-org/mason.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"stylua",
|
"stylua",
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"stevearc/conform.nvim",
|
||||||
|
opts = {
|
||||||
|
formatters = {
|
||||||
|
prettier = {
|
||||||
|
-- No `command` here on purpose. conform inherits it from its built-in
|
||||||
|
-- prettier definition, which resolves the name on PATH — and mason.nvim
|
||||||
|
-- puts ~/.local/share/nvim/mason/bin on Neovim's PATH, so the copy
|
||||||
|
-- listed in `ensure_installed` below is found automatically.
|
||||||
|
--
|
||||||
|
-- This used to hardcode a mise node path
|
||||||
|
-- (.../mise/installs/node/22.20.0/bin/prettier). That node version has
|
||||||
|
-- since been replaced by 24.19.0, so the path no longer existed and
|
||||||
|
-- prettier formatting was silently doing nothing.
|
||||||
|
--
|
||||||
|
-- `args` is set rather than appended, so it replaces conform's default
|
||||||
|
-- argument list. --no-config keeps formatting consistent regardless of
|
||||||
|
-- any .prettierrc in the project.
|
||||||
|
args = { "--no-config", "--stdin-filepath", "$FILENAME" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
formatters_by_ft = {
|
||||||
|
javascript = { "prettier" },
|
||||||
|
typescript = { "prettier" },
|
||||||
|
javascriptreact = { "prettier" },
|
||||||
|
typescriptreact = { "prettier" },
|
||||||
|
css = { "prettier" },
|
||||||
|
html = { "prettier" },
|
||||||
|
json = { "prettier" },
|
||||||
|
yaml = { "prettier" },
|
||||||
|
lua = { "stylua" },
|
||||||
|
python = { "isort", "black" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mason-org/mason.nvim",
|
||||||
|
opts = function(_, opts)
|
||||||
|
vim.list_extend(opts.ensure_installed, {
|
||||||
|
"prettier",
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
return {
|
||||||
|
-- Configure LSP
|
||||||
|
{
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
opts = {
|
||||||
|
inlay_hints = {
|
||||||
|
enabled = false,
|
||||||
|
exclude = { "vue" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
return {
|
||||||
|
"kylechui/nvim-surround",
|
||||||
|
version = "^3.0.0", -- Use for stability; omit to use `main` branch for the latest features
|
||||||
|
event = "VeryLazy",
|
||||||
|
config = function()
|
||||||
|
require("nvim-surround").setup({
|
||||||
|
-- Configuration here, or leave empty to use defaults
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user