fix visual paste + probably something else (thx)

This commit is contained in:
iris committed 2025-10-22 00:14:26 -04:00
1 parent e1450a7de4
commit 76f44dd26a
2 files changed
+17 -22

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ lo.cmd("<C-,>", "res -1")
lo.cmd("<C-.>", "res +1") lo.cmd("<C-.>", "res +1")
-- ascension (paste without replacing clipboard) -- ascension (paste without replacing clipboard)
m.map("x", "<leader>p", "\"_dhp") m.map("x", "<leader>p", "\"_dP")
-- keep centered while moving around -- keep centered while moving around
m.nmap("<C-u>", "<C-u>zz") m.nmap("<C-u>", "<C-u>zz")
+16 -21
View File
@@ -1,11 +1,11 @@
local config = function() local config = function()
local c = require("lspconfig") local c = vim.lsp.config
vim.g.markdown_fenced_languages = { vim.g.markdown_fenced_languages = {
"ts=typescript" "ts=typescript"
} }
c.lua_ls.setup { c["lua_ls"] = {
settings = { settings = {
Lua = { Lua = {
diagnostics = { diagnostics = {
@@ -21,21 +21,16 @@ local config = function()
}, },
}, },
} }
c.denols.setup { c["denols"] = {}
root_dir = c.util.root_pattern("deno.json", "deno.jsonc"), c["ts_ls"] = {}
} c["csharp_ls"] = {}
c.ts_ls.setup {
root_dir = c.util.root_pattern("package.json", "tsconfig.json", "jsconfig.json"),
single_file_support = false,
}
c.csharp_ls.setup {}
c.angularls.setup {} c["angularls"] = {}
c.clangd.setup {} c["clangd"] = {}
c.asm_lsp.setup {} c["asm_lsp"] = {}
c.pylsp.setup {} c["pylsp"] = {}
c.kotlin_language_server.setup {} c["kotlin_language_server"] = {}
c.texlab.setup { c["texlab"] = {
settings = { settings = {
texlab = { texlab = {
build = { build = {
@@ -45,10 +40,10 @@ local config = function()
} }
} }
} }
c.wgsl_analyzer.setup {} c["wgsl_analyzer"] = {}
c.hls.setup {} c["hls"] = {}
c.slint_lsp.setup {} c["slint_lsp"] = {}
c.tinymist.setup { c["tinymist"] = {
root_dir = "-", root_dir = "-",
settings = { settings = {
exportPdf = "onSave", exportPdf = "onSave",
@@ -66,6 +61,6 @@ return {
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
config = config, config = config,
dependencies = { "williamboman/mason-lspconfig.nvim"}, dependencies = { "williamboman/mason-lspconfig.nvim" },
}, },
} }