mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
Update 2025-02-28
Update 2025-02-14 Update 2025-02-16 Update 2025-02-21 Update 2025-02-23 Update 2025-02-25 Update 2025-02-27 Update 2025-02-28
This commit is contained in:
parent
464e342e58
commit
e0f12a9ce3
@ -3,3 +3,10 @@ vim.opt_local.spell = true
|
||||
vim.opt_local.tabstop = 2
|
||||
vim.opt_local.shiftwidth = 2
|
||||
vim.opt_local.softtabstop = 2
|
||||
vim.opt_local.spelllang = "lv,en"
|
||||
|
||||
vim.keymap.set("n", "<leader>P", vim.cmd.ObsidianPasteImg)
|
||||
-- vim.keymap.set({ "n", "v" }, ">>", vim.cmd("Heading increase"), { desc = "Increase heading level" })
|
||||
-- vim.keymap.set({ "n", "v" }, "<<", vim.cmd("Heading decrease"), { desc = "Decrease heading level" })
|
||||
-- vim.keymap.set({ "n", "v" }, "<C-Space>", vim.cmd("Checkbox toggle"), { desc = "Toggle checkbox", noremap = true })
|
||||
-- vim.keymap.set("n", "<C-n>", vim.cmd.ObsidianQuickSwitch)
|
||||
|
||||
@ -39,11 +39,12 @@ ls.add_snippets("lua", {
|
||||
[[
|
||||
local {} = function({})
|
||||
{}
|
||||
end
|
||||
end{}
|
||||
]],
|
||||
{
|
||||
i(1),
|
||||
i(2),
|
||||
i(3),
|
||||
i(0),
|
||||
}
|
||||
)
|
||||
|
||||
50
after/plugin/snips/markdown.lua
Normal file
50
after/plugin/snips/markdown.lua
Normal file
@ -0,0 +1,50 @@
|
||||
if not pcall(require, "luasnip") then
|
||||
return
|
||||
end
|
||||
|
||||
local ls = require("luasnip")
|
||||
local s = ls.snippet
|
||||
local i = ls.insert_node
|
||||
local fmt = require("luasnip.extras.fmt").fmt
|
||||
|
||||
ls.add_snippets("markdown", {
|
||||
s(
|
||||
"ket",
|
||||
fmt(
|
||||
[[
|
||||
|{}angle.r{}
|
||||
]],
|
||||
{
|
||||
i(1),
|
||||
i(0),
|
||||
}
|
||||
)
|
||||
),
|
||||
s(
|
||||
"ket0",
|
||||
fmt(
|
||||
[[
|
||||
|0angle.r
|
||||
]],
|
||||
{}
|
||||
)
|
||||
),
|
||||
s(
|
||||
"ket1",
|
||||
fmt(
|
||||
[[
|
||||
|1angle.r
|
||||
]],
|
||||
{}
|
||||
)
|
||||
),
|
||||
s(
|
||||
"ketp",
|
||||
fmt(
|
||||
[[
|
||||
|Psi angle.r
|
||||
]],
|
||||
{}
|
||||
)
|
||||
),
|
||||
})
|
||||
10
after/plugin/snips/typst.lua
Normal file
10
after/plugin/snips/typst.lua
Normal file
@ -0,0 +1,10 @@
|
||||
if not pcall(require, "luasnip") then
|
||||
return
|
||||
end
|
||||
|
||||
local ls = require("luasnip")
|
||||
local s = ls.snippet
|
||||
local i = ls.insert_node
|
||||
local fmt = require("luasnip.extras.fmt").fmt
|
||||
|
||||
ls.add_snippets("typst", {})
|
||||
5
ftdetect/conf.lua
Normal file
5
ftdetect/conf.lua
Normal file
@ -0,0 +1,5 @@
|
||||
vim.filetype.add({
|
||||
pattern = {
|
||||
[".*/hypr/.*%.conf"] = "hyprlang",
|
||||
},
|
||||
})
|
||||
6
ftplugin/markdown.lua
Normal file
6
ftplugin/markdown.lua
Normal file
@ -0,0 +1,6 @@
|
||||
vim.o.fillchars = "fold: "
|
||||
|
||||
vim.o.foldmethod = "expr"
|
||||
vim.o.foldexpr = "v:lua.vim.treesitter.foldexpr()"
|
||||
|
||||
vim.o.foldtext = ""
|
||||
124
lazy-lock.json
124
lazy-lock.json
@ -2,123 +2,114 @@
|
||||
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
||||
"FixCursorHold.nvim": { "branch": "master", "commit": "1900f89dc17c603eec29960f57c00bd9ae696495" },
|
||||
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
|
||||
"bigfile.nvim": { "branch": "main", "commit": "33eb067e3d7029ac77e081cfe7c45361887a311a" },
|
||||
"blink-cmp-git": { "branch": "master", "commit": "599580d33b4034db4fb071615f7c6777da9a5b25" },
|
||||
"blink-emoji.nvim": { "branch": "master", "commit": "81e6c080d1e64c9ef548534c51147fd8063481c8" },
|
||||
"blink-ripgrep.nvim": { "branch": "main", "commit": "519ac7894113f6a7b517b157c26e31fbd58a0de5" },
|
||||
"blink.cmp": { "branch": "main", "commit": "b6f11a0aa33e601c469a126e3ed6e35208fe3ea3" },
|
||||
"blink.compat": { "branch": "main", "commit": "1176525a78319a208300a1910b6fd9e0cfabff25" },
|
||||
"catppuccin.nvim": { "branch": "main", "commit": "4965db2d6155c25db4e8417465fc2703fdf4c2b7" },
|
||||
"blink-cmp-git": { "branch": "master", "commit": "57f698ca503aa5aeecc338a65567f74b533c0de3" },
|
||||
"blink-emoji.nvim": { "branch": "master", "commit": "a77aebc092ebece1eed108f301452ae774d6b67a" },
|
||||
"blink-ripgrep.nvim": { "branch": "main", "commit": "305e1ae5363f527abdfd71915a3fe1f42af52824" },
|
||||
"blink.cmp": { "branch": "main", "commit": "dcda20d3aa345025699a920c45b0a0603551f41d" },
|
||||
"blink.compat": { "branch": "main", "commit": "b0c87b64f9c669d3bcfaea8a80396fbc16e0fcb5" },
|
||||
"catppuccin.nvim": { "branch": "main", "commit": "7ab1a6ec70a664ecb95d84669efc20aaf4f4ed1b" },
|
||||
"ccc.nvim": { "branch": "main", "commit": "b57cbaf8db3ac43c56c9e2c7f3812944638260ed" },
|
||||
"cellular-automaton.nvim": { "branch": "main", "commit": "1606e9d5d04ff254023c3f3c62842d065708d6d3" },
|
||||
"cheatsheet.nvim": { "branch": "master", "commit": "8ee4d76b6f902c4017dc28eddd79d925dfc55066" },
|
||||
"cloak.nvim": { "branch": "main", "commit": "648aca6d33ec011dc3166e7af3b38820d01a71e4" },
|
||||
"cmake-tools.nvim": { "branch": "master", "commit": "83268ea6f969f1e6eaa85f72118a11acb6198bf0" },
|
||||
"cmake-tools.nvim": { "branch": "master", "commit": "1d96327bf64189110286811a2b502c8c2262d4ca" },
|
||||
"cmp-dbee": { "branch": "main", "commit": "1650f67b9bf43c029fc37570665ca895a33cdf5a" },
|
||||
"code-playground.nvim": { "branch": "main", "commit": "7b257911268ecf7ee11d6fe806193bda2c889e86" },
|
||||
"conform.nvim": { "branch": "master", "commit": "363243c03102a531a8203311d4f2ae704c620d9b" },
|
||||
"crates.nvim": { "branch": "main", "commit": "1c924d5a9ea3496c4e1a02d0d51388ba809f8468" },
|
||||
"conform.nvim": { "branch": "master", "commit": "a6f5bdb78caa305496357d17e962bbc4c0b392e2" },
|
||||
"crates.nvim": { "branch": "main", "commit": "85356807f3a0e9a3f7015586f3a010170d338686" },
|
||||
"cratesearch.nvim": { "branch": "master", "commit": "9d09625d017f6b2e116503f935bc6862961313fa" },
|
||||
"csvview.nvim": { "branch": "main", "commit": "22eb36a8d17b15bdb0d934381198089bad1e4b7d" },
|
||||
"csvview.nvim": { "branch": "main", "commit": "ed446a55b4ff9297d9b94a955db3a2eca6cdb2b2" },
|
||||
"darkplus.nvim": { "branch": "master", "commit": "c7fff5ce62406121fc6c9e4746f118b2b2499c4c" },
|
||||
"darkvoid.nvim": { "branch": "master", "commit": "45be993a5617e05811b6b293c05e6aded7003cc9" },
|
||||
"demicolon.nvim": { "branch": "main", "commit": "eed33fc75e7af0aacd283c613d4500b188d62169" },
|
||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||
"dracula.nvim": { "branch": "main", "commit": "515acae4fd294fcefa5b15237a333c2606e958d1" },
|
||||
"flow.nvim": { "branch": "main", "commit": "d8b2bc1a76325361fdbb2cdadbfe242d24370edd" },
|
||||
"dracula.nvim": { "branch": "main", "commit": "96c9d19ce81b26053055ad6f688277d655b3f7d2" },
|
||||
"flow.nvim": { "branch": "main", "commit": "095c54bbaf55473418dd09d61d3167891684cf85" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
|
||||
"gh.nvim": { "branch": "main", "commit": "6f367b2ab8f9d4a0a23df2b703a3f91137618387" },
|
||||
"gitignore.nvim": { "branch": "master", "commit": "2455191ec94da8ed222806a4fe3aa358eac1e558" },
|
||||
"gitpad.nvim": { "branch": "main", "commit": "1e0f6fa335c72c05d1d3635120c572e198e5ae0d" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "9772ce68a9a6d156f3f2166bfd0a17a09ab37eba" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "4c40357994f386e72be92a46f41fc1664c84c87d" },
|
||||
"gruvbox.nvim": { "branch": "main", "commit": "089b60e92aa0a1c6fa76ff527837cd35b6f5ac81" },
|
||||
"hardtime.nvim": { "branch": "main", "commit": "5d9adcbe2f12741de79e435c8b85dca69a3b22e4" },
|
||||
"harpoon": { "branch": "harpoon2", "commit": "a84ab829eaf3678b586609888ef52f7779102263" },
|
||||
"harpoon": { "branch": "harpoon2", "commit": "ed1f853847ffd04b2b61c314865665e1dadf22c7" },
|
||||
"harpoon-lualine": { "branch": "master", "commit": "eae10bc6bddddbc73daa0956ba4ee5cc29cf9a49" },
|
||||
"hererocks": { "branch": "master", "commit": "c9c5444dea1e07e005484014a8231aa667be30b6" },
|
||||
"http-codes.nvim": { "branch": "main", "commit": "a610788dff2fb5df05b230d73a926c8dc3173c16" },
|
||||
"hypersonic.nvim": { "branch": "main", "commit": "734dfbfbe51952f102a9b439d53d4267bb0024cd" },
|
||||
"image.nvim": { "branch": "master", "commit": "6ffafab2e98b5bda46bf227055aa84b90add8cdc" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "7a698a1d7ed755af9f5a88733b23ca246ce2df28" },
|
||||
"inlay-hint.nvim": { "branch": "main", "commit": "eb5f0579537db271dfedd7f38460cdacb238176f" },
|
||||
"inlay-hints.nvim": { "branch": "master", "commit": "3259b54f3b954b4d8260f3ee49ceabe978ea5636" },
|
||||
"jq.nvim": { "branch": "main", "commit": "3a736044a9ff4d2b39919c43e66c8148ce85b6a5" },
|
||||
"jupynium.nvim": { "branch": "master", "commit": "b0b71577c6e4a613b6a4180068dd0b2de0659e52" },
|
||||
"jupynium.nvim": { "branch": "master", "commit": "4086e40f5ab3b8b74330c5a69a26791953da5cd2" },
|
||||
"jupytext.nvim": { "branch": "master", "commit": "2e86acfa4345f611c86f57116db0c06ffecb721d" },
|
||||
"kanagawa.nvim": { "branch": "master", "commit": "988082eb00b845e4afbcaa4fd8e903da8a3ab3b9" },
|
||||
"kanagawa.nvim": { "branch": "master", "commit": "cfd67b0e1eeaa04302b8c7eb072253d24bf22d84" },
|
||||
"lackluster.nvim": { "branch": "main", "commit": "662fba7e6719b7afc155076385c00d79290bc347" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "7527af40ddd4a93a02911be570b32609b9d4ea53" },
|
||||
"lazydev.nvim": { "branch": "main", "commit": "a1b78b2ac6f978c72e76ea90ae92a94edf380cfc" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||
"lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" },
|
||||
"litee.nvim": { "branch": "main", "commit": "4efaf373322d9e71eaff31164abb393417cc6f6a" },
|
||||
"lua-utils.nvim": { "branch": "main", "commit": "e565749421f4bbb5d2e85e37c3cef9d56553d8bd" },
|
||||
"lualine-lsp-progress": { "branch": "master", "commit": "56842d097245a08d77912edf5f2a69ba29f275d7" },
|
||||
"lualine-lsp-status": { "branch": "main", "commit": "1218d51d4d0b8881a598a77e5d9f334ac31c6cc7" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "f4f791f67e70d378a754d02da068231d2352e5bc" },
|
||||
"luarocks.nvim": { "branch": "main", "commit": "1db9093915eb16ba2473cfb8d343ace5ee04130a" },
|
||||
"markdown-table-mode.nvim": { "branch": "main", "commit": "fe207ea7cef615ccaf2c0f1257c58ffa0a50a9f5" },
|
||||
"markdown-togglecheck": { "branch": "main", "commit": "5e9ee3184109a102952c01ef816babe8835b299a" },
|
||||
"markdown.nvim": { "branch": "master", "commit": "dfa0d2def6dbf77e9206b16dc90cad4dd23d55d2" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "f75e877f5266e87523eb5a18fcde2081820d087b" },
|
||||
"mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" },
|
||||
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
||||
"markview.nvim": { "branch": "main", "commit": "386a98e88e021a79df7f0494d8eb4145a78f59ae" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
|
||||
"mason-nvim-dap.nvim": { "branch": "main", "commit": "09220b99d63d5363f219daa2785242ee5fddba7f" },
|
||||
"mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
|
||||
"melange.nvim": { "branch": "master", "commit": "2db5407f2f6d6d6286f50f2f7365728d66f6f3ae" },
|
||||
"mini.icons": { "branch": "main", "commit": "ec61af6e606fc89ee3b1d8f2f20166a3ca917a36" },
|
||||
"neoconf.nvim": { "branch": "main", "commit": "95b46f16b7bddc1278de8b4379121ed9e4e4a725" },
|
||||
"neoconf.nvim": { "branch": "main", "commit": "21483cfdde74fdbd6493b0f7b3b01cfd174199a4" },
|
||||
"neocord": { "branch": "main", "commit": "4d55d8dab2d5f2f272192add7a2c21982039c699" },
|
||||
"neogen": { "branch": "main", "commit": "b2e78708876f4da507839726816010a68e33fec8" },
|
||||
"neogit": { "branch": "master", "commit": "43fa47fb61773b0d90a78ebc2521ea8faaeebd86" },
|
||||
"neorg": { "branch": "main", "commit": "ed43ed58116caa0a17bbbc7aa663e32bf94bc531" },
|
||||
"neorg-telescope": { "branch": "main", "commit": "ddb2556644cae922699a239bbb0fe16e25b084b7" },
|
||||
"neotest": { "branch": "master", "commit": "d66cf4e05a116957f0d3a7755a24291c7d1e1f72" },
|
||||
"neotest": { "branch": "master", "commit": "dddbe8fe358b05b2b7e54fe4faab50563171a76d" },
|
||||
"neotest-gtest": { "branch": "main", "commit": "16989561a6356878ec4ecd6afed4f0d7a471d1db" },
|
||||
"neotest-python": { "branch": "master", "commit": "a2861ab3c9a0bf75a56b11835c2bfc8270f5be7e" },
|
||||
"neotest-vim-test": { "branch": "master", "commit": "75c4228882ae4883b11bfce9b8383e637eb44192" },
|
||||
"nightfly.nvim": { "branch": "master", "commit": "4ce84530dfd296a31a6c7d318fdd9dcbde8e11f1" },
|
||||
"nightfox.nvim": { "branch": "main", "commit": "595ffb8f291fc4a9bef3201a28b7c0379a41cdee" },
|
||||
"nui-components.nvim": { "branch": "main", "commit": "caecfe2089e5ffbe99c2b0e0468da91990263a90" },
|
||||
"nightfly.nvim": { "branch": "master", "commit": "e4fd65b08c5ae590511d77c2ad26c59c353fc64a" },
|
||||
"nightfox.nvim": { "branch": "main", "commit": "ba47d4b4c5ec308718641ba7402c143836f35aa9" },
|
||||
"nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "3d02855468f94bf435db41b661b58ec4f48a06b7" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "9b5fe0450bfb2521c6cea29391e5ec571f129136" },
|
||||
"nvim-dap": { "branch": "master", "commit": "12b846bedbc7221e833b5e6611de21917d7d9184" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "943be69156b94fbc96064f4913d653f0c7fb299f" },
|
||||
"nvim-dap": { "branch": "master", "commit": "379cf26e9c457b66a0152cd5d018418c03720d47" },
|
||||
"nvim-dap-python": { "branch": "master", "commit": "34282820bb713b9a5fdb120ae8dd85c2b3f49b51" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "bc81f8d3440aede116f821114547a476b082b319" },
|
||||
"nvim-dap-virtual-text": { "branch": "master", "commit": "df66808cd78b5a97576bbaeee95ed5ca385a9750" },
|
||||
"nvim-dbee": { "branch": "master", "commit": "f9aa10f113ae439ef20c6d8b91b27dab93274360" },
|
||||
"nvim-lint": { "branch": "master", "commit": "789b7ada1b4f00e08d026dffde410dcfa6a0ba87" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "66bc018936c6ff76beb75f89d986af6442db4001" },
|
||||
"nvim-dbee": { "branch": "master", "commit": "9b7762788de74cfac1641b57354e4ce51baa7e5f" },
|
||||
"nvim-lint": { "branch": "master", "commit": "6e9dd545a1af204c4022a8fcd99727ea41ffdcc8" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "62c5fac4c59be9e41b92ef62f3bb0fbdae3e2d9e" },
|
||||
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||
"nvim-notify": { "branch": "master", "commit": "22f29093eae7785773ee9d543f8750348b1a195c" },
|
||||
"nvim-silicon": { "branch": "main", "commit": "7f66bda8f60c97a5bf4b37e5b8acb0e829ae3c32" },
|
||||
"nvim-surround": { "branch": "main", "commit": "ae298105122c87bbe0a36b1ad20b06d417c0433e" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "9e0b5e7f0d148963d6ec71c48cec1a3f8607d619" },
|
||||
"nvim-treesitter-context": { "branch": "master", "commit": "9a49f43a2ec9bf77aecfb0fcbc43af43338375c0" },
|
||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "ad8f0a472148c3e0ae9851e26a722ee4e29b1595" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "1cca23c9da708047922d3895a71032bc0449c52d" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "99487eb34a397befce8182ff63347a21c5f4b881" },
|
||||
"nvim-treesitter-context": { "branch": "master", "commit": "198720b4016af04c9590f375d714d5bf8afecc1a" },
|
||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "88fce4e6496950dab867a7c63a819df0ead56751" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
|
||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" },
|
||||
"nvim-ufo": { "branch": "main", "commit": "81f5ffa6e8ba27c48403cf681d4b383d924e03e4" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "402377242b04be3f4f0f3720bd952df86e946c30" },
|
||||
"nvim-ufo": { "branch": "main", "commit": "a52c92c3bbaa10f0c9b547a50adaa8c7d8b29f94" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "1020869742ecb191f260818234517f4a1515cfe8" },
|
||||
"obsidian.nvim": { "branch": "main", "commit": "ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b" },
|
||||
"oil.nvim": { "branch": "master", "commit": "ba858b662599eab8ef1cba9ab745afded99cb180" },
|
||||
"oil.nvim": { "branch": "master", "commit": "975a77cce3c8cb742bc1b3629f4328f5ca977dad" },
|
||||
"onedark.nvim": { "branch": "master", "commit": "67a74c275d1116d575ab25485d1bfa6b2a9c38a6" },
|
||||
"otter.nvim": { "branch": "main", "commit": "e8c662e1aefa8b483cfba6e00729a39a363dcecc" },
|
||||
"pathlib.nvim": { "branch": "main", "commit": "57e5598af6fe253761c1b48e0b59b7cd6699e2c1" },
|
||||
"peek.nvim": { "branch": "master", "commit": "5820d937d5414baea5f586dc2a3d912a74636e5b" },
|
||||
"persistence.nvim": { "branch": "main", "commit": "f6aad7dde7fcf54148ccfc5f622c6d5badd0cc3d" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "3707cdb1e43f5cea73afb6037e6494e7ce847a66" },
|
||||
"persistence.nvim": { "branch": "main", "commit": "166a79a55bfa7a4db3e26fc031b4d92af71d0b51" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||
"popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" },
|
||||
"promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" },
|
||||
"pymple.nvim": { "branch": "main", "commit": "110cc9499b89f2b7230a0c3a7332b3e4b1ac5b7b" },
|
||||
"rainbow-delimiters.nvim": { "branch": "master", "commit": "cf0da2516b0684596b09c51dbc93c609cdc2f455" },
|
||||
"rainbow-delimiters.nvim": { "branch": "master", "commit": "011d98eaa3a73b5a51d82ce5bc6b1397dde95562" },
|
||||
"rainbow_csv.nvim": { "branch": "main", "commit": "7f3fddfe813641035fac2cdf94c2ff69bb0bf0b9" },
|
||||
"render-markdown.nvim": { "branch": "main", "commit": "2a9e0ab6043bfb4996ce6a6a35594ab357e5d299" },
|
||||
"rose-pine.nvim": { "branch": "main", "commit": "00ec4cec924b624920baac9d42eac02e1efcae76" },
|
||||
"rustaceanvim": { "branch": "master", "commit": "f03035fa03ccb36cd26d0792c946fbacba1d1a39" },
|
||||
"rose-pine.nvim": { "branch": "main", "commit": "7718965bdd1526b233f082da17e88b8bde7a7e6e" },
|
||||
"rustaceanvim": { "branch": "master", "commit": "2b0f0b7e03751cf8ed123322f9b02d8f73fa9df7" },
|
||||
"snacks.nvim": { "branch": "main", "commit": "07f4b9adff7af45a7e0eb22d85a422e32ed4b1ca" },
|
||||
"spellwarn.nvim": { "branch": "main", "commit": "12734b47b008d912b4925c0bc2c1248eb534409d" },
|
||||
"tagbar": { "branch": "master", "commit": "8de7694c0aeda253073098bbc9fb890b2902ddb8" },
|
||||
"tailwind-fold.nvim": { "branch": "main", "commit": "30b8c04eec28628fbe554fb4f3a26984c4455176" },
|
||||
"tailwind-fold.nvim": { "branch": "main", "commit": "599ecda211573f8dc39308468c58e5b156d917a6" },
|
||||
"telescope-bibtex.nvim": { "branch": "master", "commit": "289a6f86ebec06e8ae1590533b732b9981d84900" },
|
||||
"telescope-frecency.nvim": { "branch": "master", "commit": "beb64492c825a8e42683949530bd086923e69b19" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "dae2eac9d91464448b584c7949a31df8faefec56" },
|
||||
"telescope-frecency.nvim": { "branch": "master", "commit": "871038761e61a621cdf4b24df731f215daabc549" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "2a5ceff981501cff8f46871d5402cd3378a8ab6a" },
|
||||
"telescope-git-diffs.nvim": { "branch": "main", "commit": "b8e5c9e13b9e27f8ccfd14430d04739b9996ae76" },
|
||||
"telescope-heading.nvim": { "branch": "main", "commit": "e85c0f69cb64048f56e76548dcb2f10277576df9" },
|
||||
"telescope-import.nvim": { "branch": "main", "commit": "6fd69447679a99b463025e7f2f787e8b185dd740" },
|
||||
@ -130,24 +121,23 @@
|
||||
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
||||
"timber.nvim": { "branch": "main", "commit": "7e96bc1a01cea35e872e4ac387edfc1c68ca37f6" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "dca4adba7dc5f09302a00b0e76078d54d82d2658" },
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "057ef5d260c1931f1dffd0f052c685dcd14100a3" },
|
||||
"tree-sitter-bruno": { "branch": "main", "commit": "347e99f256930213cd7fcd0efe3f9af83035c4b1" },
|
||||
"treesitter-utils": { "branch": "main", "commit": "df621499e4227f0476f6f4bdb75a9d8dd18d16f2" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "6f380b8826fb819c752c8fd7daaee9ef96d4c689" },
|
||||
"ts-comments.nvim": { "branch": "main", "commit": "872dcfa0418f4a33b7437fb4d9f4e89f2f000d74" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" },
|
||||
"ts-comments.nvim": { "branch": "main", "commit": "1bd9d0ba1d8b336c3db50692ffd0955fe1bb9f0c" },
|
||||
"ts-error-translator.nvim": { "branch": "main", "commit": "47e5ba89f71b9e6c72eaaaaa519dd59bd6897df4" },
|
||||
"twilight.nvim": { "branch": "main", "commit": "1584c0b0a979b71fd86b18d302ba84e9aba85b1b" },
|
||||
"typecheck.nvim": { "branch": "main", "commit": "5a0b0f50be009e85c337f3e183fa6cd28a3c95a0" },
|
||||
"typescript-tools.nvim": { "branch": "master", "commit": "35e397ce467bedbbbb5bfcd0aa79727b59a08d4a" },
|
||||
"typst-preview.nvim": { "branch": "master", "commit": "c1100e8788baabe8ca8f8cd7fd63d3d479e49e36" },
|
||||
"typst-preview.nvim": { "branch": "master", "commit": "00ff6829030f302e8ff24d0e3a68625dd1a3ac40" },
|
||||
"undotree": { "branch": "master", "commit": "2556c6800b210b2096b55b66e74b4cc1d9ebbe4f" },
|
||||
"vim-be-good": { "branch": "master", "commit": "0ae3de14eb8efc6effe7704b5e46495e91931cc5" },
|
||||
"vim-closetag": { "branch": "master", "commit": "d0a562f8bdb107a50595aefe53b1a690460c3822" },
|
||||
"vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" },
|
||||
"vim-illuminate": { "branch": "master", "commit": "19cb21f513fc2b02f0c66be70107741e837516a1" },
|
||||
"vim-log-highlighting": { "branch": "master", "commit": "1037e26f3120e6a6a2c0c33b14a84336dee2a78f" },
|
||||
"vim-tmux-navigator": { "branch": "master", "commit": "d847ea942a5bb4d4fab6efebc9f30d787fd96e65" },
|
||||
"vimtex": { "branch": "master", "commit": "dfaf26c2cafddf61963ebeff28437352002691ac" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "b74a3c85f03225bc91f4f5a9056518d3fa9a3470" },
|
||||
"vim-startuptime": { "branch": "master", "commit": "b6f0d93f6b8cf6eee0b4c94450198ba2d6a05ff6" },
|
||||
"vim-tmux-navigator": { "branch": "master", "commit": "791dacfcfc8ccb7f6eb1c853050883b03e5a22fe" },
|
||||
"vimtex": { "branch": "master", "commit": "096a0450261abccb7944630fae66788712be46a8" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "fcbf4eea17cb299c02557d576f0d568878e354a4" },
|
||||
"yuck.vim": { "branch": "master", "commit": "9b5e0370f70cc30383e1dabd6c215475915fe5c3" },
|
||||
"zen-mode.nvim": { "branch": "main", "commit": "863f150ca321b3dd8aa1a2b69b5f411a220e144f" }
|
||||
}
|
||||
|
||||
@ -87,12 +87,6 @@ vim.api.nvim_create_autocmd({ "BufWritePost" }, {
|
||||
end,
|
||||
})
|
||||
|
||||
vim.filetype.add({
|
||||
pattern = {
|
||||
[".*/hypr/.*%.conf"] = "hyprlang",
|
||||
},
|
||||
})
|
||||
|
||||
-- Hyprlang LSP
|
||||
vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
|
||||
pattern = { "*.hl", "hypr*.conf" },
|
||||
@ -130,8 +124,4 @@ vim.api.nvim_create_autocmd({ "VimEnter" }, {
|
||||
})
|
||||
vim.opt_local.colorcolumn = "80"
|
||||
end
|
||||
|
||||
vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||
pattern = { "markdown", "norg", "typst", "tex" },
|
||||
callback = setup_soft_wrap,
|
||||
}) ]]
|
||||
]]
|
||||
|
||||
@ -1,18 +0,0 @@
|
||||
return {
|
||||
"LunarVim/bigfile.nvim",
|
||||
event = "BufReadPre",
|
||||
opts = {
|
||||
filesize = 1, -- size of the file in MiB, the plugin round file sizes to the closest MiB
|
||||
pattern = { "*" }, -- autocmd pattern or function see <### Overriding the detection of big files>
|
||||
features = { -- features to disable
|
||||
"indent_blankline",
|
||||
"illuminate",
|
||||
"lsp",
|
||||
"treesitter",
|
||||
"syntax",
|
||||
"matchparen",
|
||||
"vimopts",
|
||||
"filetype",
|
||||
},
|
||||
},
|
||||
}
|
||||
@ -75,7 +75,7 @@ return {
|
||||
"snippets",
|
||||
"ripgrep",
|
||||
"obsidian",
|
||||
"markdown",
|
||||
-- "markdown",
|
||||
"jupynium",
|
||||
},
|
||||
providers = {
|
||||
@ -99,12 +99,12 @@ return {
|
||||
module = "blink.compat.source",
|
||||
score_offset = 10,
|
||||
},
|
||||
markdown = {
|
||||
name = "RenderMarkdown",
|
||||
module = "render-markdown.integ.blink",
|
||||
score_offset = 10,
|
||||
fallbacks = { "lsp" },
|
||||
},
|
||||
-- markdown = {
|
||||
-- name = "RenderMarkdown",
|
||||
-- module = "render-markdown.integ.blink",
|
||||
-- score_offset = 10,
|
||||
-- fallbacks = { "lsp" },
|
||||
-- },
|
||||
ripgrep = {
|
||||
module = "blink-ripgrep",
|
||||
name = "Ripgrep",
|
||||
@ -135,7 +135,7 @@ return {
|
||||
name = "Git",
|
||||
enabled = true,
|
||||
should_show_items = function()
|
||||
return vim.o.filetype == "gitcommit" or vim.o.filetype == "markdown"
|
||||
return vim.o.filetype == "gitcommit"
|
||||
end,
|
||||
opts = {},
|
||||
},
|
||||
|
||||
@ -1,7 +0,0 @@
|
||||
return {
|
||||
"GustavEikaas/code-playground.nvim",
|
||||
cmd = { "Code" },
|
||||
config = function()
|
||||
require("code-playground").setup()
|
||||
end,
|
||||
}
|
||||
@ -1,11 +0,0 @@
|
||||
return {
|
||||
"NStefan002/donut.nvim",
|
||||
version = "*",
|
||||
lazy = false,
|
||||
enabled = false,
|
||||
cms = "Donut",
|
||||
opts = {
|
||||
timeout = 600,
|
||||
sync_donuts = false,
|
||||
},
|
||||
}
|
||||
@ -1,6 +0,0 @@
|
||||
return {
|
||||
"m4xshen/hardtime.nvim",
|
||||
enabled = false,
|
||||
dependencies = { "MunifTanjim/nui.nvim" },
|
||||
opts = {},
|
||||
}
|
||||
@ -1,17 +0,0 @@
|
||||
return {
|
||||
"tomiis4/hypersonic.nvim",
|
||||
opts = {
|
||||
---@type "none"|"single"|"double"|"rounded"|"solid"|"shadow"|table
|
||||
border = "rounded",
|
||||
---@type number 0-100
|
||||
winblend = 0,
|
||||
---@type boolean
|
||||
add_padding = true,
|
||||
---@type string
|
||||
hl_group = "Keyword",
|
||||
---@type string
|
||||
wrapping = '"',
|
||||
---@type boolean
|
||||
enable_cmdline = false,
|
||||
},
|
||||
}
|
||||
@ -1,5 +1,6 @@
|
||||
return {
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
enabled = false,
|
||||
main = "ibl",
|
||||
version = "*",
|
||||
opts = {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
return {
|
||||
"3rd/image.nvim",
|
||||
opts = {
|
||||
backend = "kitty",
|
||||
backend = "ueberzug", -- ueberzug, kitty
|
||||
processor = "magick_rock", -- or "magick_cli"
|
||||
integrations = {
|
||||
markdown = {
|
||||
|
||||
@ -1,46 +0,0 @@
|
||||
return {
|
||||
"cenk1cenk2/jq.nvim",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
"grapp-dev/nui-components.nvim",
|
||||
},
|
||||
cmd = "JQ",
|
||||
opts = {
|
||||
keymap = {
|
||||
close = "<Esc>",
|
||||
focus_next = "<Tab>",
|
||||
focus_prev = "<S-Tab>",
|
||||
focus_left = "<C-h>",
|
||||
focus_right = "<C-l>",
|
||||
focus_up = "<C-k>",
|
||||
focus_down = "<C-j>",
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("jq").setup(opts)
|
||||
vim.api.nvim_create_user_command("JQ", function()
|
||||
require("jq").run({
|
||||
--- you can pass additional options to configure the current instance
|
||||
-- if you want to toggle from the memory
|
||||
toggle = true,
|
||||
-- commands for the instance else it will use the default
|
||||
-- the default command would be the first one in the table
|
||||
commands = {
|
||||
{
|
||||
-- command to be run
|
||||
command = "jq",
|
||||
-- filetype of the output
|
||||
filetype = "json",
|
||||
-- hidden arguments that will not be shown in the ui
|
||||
arguments = "-r",
|
||||
},
|
||||
},
|
||||
-- arguments to start with in the ui
|
||||
arguments = "",
|
||||
-- query to start with, if not provided it will use the default
|
||||
query = ".",
|
||||
})
|
||||
end, {})
|
||||
end,
|
||||
}
|
||||
@ -321,6 +321,15 @@ return {
|
||||
outputPath = "$root/target/$dir/$name",
|
||||
},
|
||||
},
|
||||
matlab_ls = {
|
||||
indexWorkspace = true,
|
||||
matlabConnectionTiming = "onStart",
|
||||
telemetry = false,
|
||||
filetypes = {
|
||||
"matlab",
|
||||
"octave",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
@ -1,25 +1,25 @@
|
||||
return {
|
||||
{
|
||||
"nfrid/markdown-togglecheck",
|
||||
dependencies = { "nfrid/treesitter-utils" },
|
||||
ft = { "markdown" },
|
||||
keys = {
|
||||
{
|
||||
"<C-space>",
|
||||
function()
|
||||
require("markdown-togglecheck").toggle()
|
||||
end,
|
||||
desc = "Toggle Checkmark",
|
||||
ft = "markdown",
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
-- create empty checkbox on item without any while toggling
|
||||
create = true,
|
||||
-- remove checked checkbox instead of unckecking it while toggling
|
||||
remove = false,
|
||||
},
|
||||
},
|
||||
-- {
|
||||
-- "nfrid/markdown-togglecheck",
|
||||
-- dependencies = { "nfrid/treesitter-utils" },
|
||||
-- ft = { "markdown" },
|
||||
-- keys = {
|
||||
-- {
|
||||
-- "<C-space>",
|
||||
-- function()
|
||||
-- require("markdown-togglecheck").toggle()
|
||||
-- end,
|
||||
-- desc = "Toggle Checkmark",
|
||||
-- ft = "markdown",
|
||||
-- },
|
||||
-- },
|
||||
-- opts = {
|
||||
-- -- create empty checkbox on item without any while toggling
|
||||
-- create = true,
|
||||
-- -- remove checked checkbox instead of unckecking it while toggling
|
||||
-- remove = false,
|
||||
-- },
|
||||
-- },
|
||||
{
|
||||
"tadmccorkle/markdown.nvim",
|
||||
ft = { "markdown" },
|
||||
@ -86,16 +86,58 @@ return {
|
||||
},
|
||||
},
|
||||
{
|
||||
"Kicamon/markdown-table-mode.nvim",
|
||||
"OXY2DEV/markview.nvim",
|
||||
-- enabled = false,
|
||||
lazy = false,
|
||||
opts = {
|
||||
filetype = {
|
||||
"*.md",
|
||||
preview = {
|
||||
icon_provider = "mini",
|
||||
hybrid_modes = { "i", "n" },
|
||||
debounce = 50,
|
||||
},
|
||||
cursor_line = {
|
||||
disable_rendering = true,
|
||||
},
|
||||
linewise_hybrid_mode = true,
|
||||
markdown = {
|
||||
enable = true,
|
||||
math = {
|
||||
engine = "typst", -- Use Typst engine for math rendering
|
||||
inline = true, -- Enable for inline math
|
||||
blocks = true, -- Enable for math blocks
|
||||
},
|
||||
},
|
||||
latex = {
|
||||
enable = false,
|
||||
blocks = {
|
||||
-- ["$$"] = {
|
||||
-- renderer = "typst.math_blocks",
|
||||
-- },
|
||||
},
|
||||
},
|
||||
typst = { enable = false },
|
||||
html = { enable = false },
|
||||
checkboxes = {
|
||||
default = " ",
|
||||
remove_style = "checkbox",
|
||||
states = {
|
||||
{ " ", "/", "X" },
|
||||
{ "<", ">" },
|
||||
{ "?", "!", "*" },
|
||||
{ '"' },
|
||||
{ "l", "b", "i" },
|
||||
{ "S", "I" },
|
||||
{ "p", "c" },
|
||||
{ "f", "k", "w" },
|
||||
{ "u", "d" },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"MeanderingProgrammer/render-markdown.nvim",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.icons" },
|
||||
opts = {},
|
||||
config = function(_, opts)
|
||||
require("markview").setup(opts)
|
||||
require("markview.extras.checkboxes").setup(opts.checkboxes)
|
||||
require("markview.extras.headings").setup()
|
||||
require("markview.extras.editor").setup()
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
@ -8,6 +8,41 @@ return {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>Oo", vim.cmd.ObsidianOpen, desc = "Open a note in the Obsidian app." },
|
||||
{ "<leader>On", vim.cmd.ObsidianNew, desc = "Create a new note." },
|
||||
{ "<leader>Of", vim.cmd.ObsidianQuickSwitch, desc = "Quickly switch to (or open) another note in vault." },
|
||||
{ "<leader>Ob", vim.cmd.ObsidianBacklinks, desc = "Get a picker list of references to the current buffer." },
|
||||
{ "<leader>Ot", vim.cmd.ObsidianTags, desc = "Get a picker list of all occurrences of the given tags." },
|
||||
{ "<leader>Os", vim.cmd.ObsidianSearch, desc = "Search for (or create) notes in your vault." },
|
||||
{
|
||||
"<leader>Ol",
|
||||
vim.cmd.ObsidianLinkNew,
|
||||
desc = "Create a new note and link it to an inline visual selection of text.",
|
||||
},
|
||||
{
|
||||
"<leader>OL",
|
||||
vim.cmd.ObsidianLinks,
|
||||
desc = "Collect all links within the current buffer into a picker window.",
|
||||
},
|
||||
{
|
||||
"<leader>OE",
|
||||
vim.cmd.ObsidianExtractNote,
|
||||
desc = "Extract the visually selected text into a new note and link to it.",
|
||||
},
|
||||
{ "<leader>Ow", vim.cmd.ObsidianWorkspace, desc = "Switch to another workspace." },
|
||||
{ "<leader>Op", vim.cmd.ObsidianPasteImg, desc = "Paste an image from the clipboard into the note." },
|
||||
{
|
||||
"<leader>Or",
|
||||
vim.cmd.ObsidianRename,
|
||||
desc = "Rename the note of the current buffer or reference under the cursor, updating all backlinks across the vault.",
|
||||
},
|
||||
{
|
||||
"<leader>OT",
|
||||
vim.cmd.ObsidianRename,
|
||||
desc = "Load the table of contents of the current note into a picker list.",
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
workspaces = {
|
||||
{
|
||||
@ -23,6 +58,53 @@ return {
|
||||
path = "~/Obsidian/work",
|
||||
},
|
||||
},
|
||||
mappings = {
|
||||
-- Overrides the 'gf' mapping to work on markdown/wiki links within your vault.
|
||||
["gf"] = {
|
||||
action = function()
|
||||
return require("obsidian").util.gf_passthrough()
|
||||
end,
|
||||
opts = { noremap = false, expr = true, buffer = true },
|
||||
},
|
||||
-- Toggle check-boxes.
|
||||
["<leader>ch"] = {
|
||||
action = function()
|
||||
return require("obsidian").util.smart_action()
|
||||
end,
|
||||
opts = { buffer = true, expr = true },
|
||||
},
|
||||
-- Smart action depending on context, either follow link or toggle checkbox.
|
||||
["<cr>"] = nil,
|
||||
},
|
||||
|
||||
-- Optional, customize how note IDs are generated given an optional title.
|
||||
---@param title string|?
|
||||
---@return string
|
||||
note_id_func = function(title)
|
||||
-- Create note IDs in a Zettelkasten format with a timestamp and a suffix.
|
||||
-- In this case a note with the title 'My new note' will be given an ID that looks
|
||||
-- like '1657296016-my-new-note', and therefore the file name '1657296016-my-new-note.md'
|
||||
local suffix = ""
|
||||
if title ~= nil then
|
||||
-- If title is given, transform it into valid file name.
|
||||
suffix = title:gsub(" ", "-"):gsub("[^A-Za-z0-9-]", ""):lower()
|
||||
else
|
||||
-- If title is nil, just add 4 random uppercase letters to the suffix.
|
||||
for _ = 1, 4 do
|
||||
suffix = suffix .. string.char(math.random(65, 90))
|
||||
end
|
||||
end
|
||||
return tostring(os.time()) .. "-" .. suffix
|
||||
end,
|
||||
-- Optional, customize how wiki links are formatted. You can set this to one of:
|
||||
-- * "use_alias_only", e.g. '[[Foo Bar]]'
|
||||
-- * "prepend_note_id", e.g. '[[foo-bar|Foo Bar]]'
|
||||
-- * "prepend_note_path", e.g. '[[foo-bar.md|Foo Bar]]'
|
||||
-- * "use_path_only", e.g. '[[foo-bar.md]]'
|
||||
-- Or you can set it to a function that takes a table of options and returns a string, like this:
|
||||
wiki_link_func = function(opts)
|
||||
return require("obsidian.util").wiki_link_id_prefix(opts)
|
||||
end,
|
||||
templates = {
|
||||
folder = "templates",
|
||||
date_format = "%Y-%m-%d",
|
||||
@ -52,5 +134,8 @@ return {
|
||||
return string.format("", path.name, path)
|
||||
end,
|
||||
},
|
||||
ui = {
|
||||
enable = false,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@ -45,7 +45,7 @@ return {
|
||||
-- Deleted files will be removed with the trash_command (below).
|
||||
delete_to_trash = true,
|
||||
-- Change this to customize the command used when deleting to trash
|
||||
trash_command = "trash-put",
|
||||
-- trash_command = "trash-put",
|
||||
-- Selecting a new/moved/renamed file or directory will prompt you to save changes first
|
||||
prompt_save_on_select_new_entry = true,
|
||||
-- Keymaps in oil buffer. Can be any value that `vim.keymap.set` accepts OR a table of keymap
|
||||
|
||||
@ -1,21 +0,0 @@
|
||||
return {
|
||||
"toppair/peek.nvim",
|
||||
event = { "VeryLazy" },
|
||||
build = "deno task --quiet build:fast",
|
||||
config = function(_, opts)
|
||||
require("peek").setup(opts)
|
||||
vim.api.nvim_create_user_command("PeekOpen", require("peek").open, {})
|
||||
vim.api.nvim_create_user_command("PeekClose", require("peek").close, {})
|
||||
end,
|
||||
opts = {
|
||||
auto_load = true,
|
||||
close_on_bdelete = true,
|
||||
syntax = true,
|
||||
theme = "dark",
|
||||
update_on_change = true,
|
||||
app = "browser",
|
||||
filetype = { "markdown", "vimwiki" },
|
||||
throttle_at = 200000,
|
||||
throttle_time = "auto",
|
||||
},
|
||||
}
|
||||
@ -1,23 +0,0 @@
|
||||
return {
|
||||
"alexpasmantier/pymple.nvim",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
build = ":PympleBuild",
|
||||
opts = {
|
||||
-- automatically register the following keymaps on plugin setup
|
||||
keymaps = {
|
||||
-- Resolves import for symbol under cursor.
|
||||
-- This will automatically find and add the corresponding import to
|
||||
-- the top of the file (below any existing doctsring)
|
||||
resolve_import_under_cursor = {
|
||||
desc = "Resolve import under cursor",
|
||||
keys = "<leader>li",
|
||||
},
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("pymple").setup(opts)
|
||||
end,
|
||||
}
|
||||
84
lua/plugins/snacks.lua
Normal file
84
lua/plugins/snacks.lua
Normal file
@ -0,0 +1,84 @@
|
||||
return {
|
||||
"folke/snacks.nvim",
|
||||
priority = 1000,
|
||||
lazy = false,
|
||||
opts = {
|
||||
animate = { enabled = false },
|
||||
bigfile = { enabled = true },
|
||||
bufdelete = { enabled = true },
|
||||
dashboard = { enabled = false },
|
||||
debug = { enabled = false },
|
||||
dim = { enabled = true },
|
||||
explorer = { enabled = false },
|
||||
git = { enabled = false },
|
||||
gitbrowse = { enabled = false },
|
||||
image = { enabled = false },
|
||||
indent = {
|
||||
enabled = true,
|
||||
animate = { enabled = false },
|
||||
},
|
||||
input = { enabled = false },
|
||||
layout = { enabled = false },
|
||||
lazygit = { enabled = false },
|
||||
notifier = { enabled = false },
|
||||
picker = { enabled = false }, -- TODO: might replace telescope
|
||||
profiler = { enabled = false },
|
||||
quickfile = { enabled = true, exclude = { "latex" } },
|
||||
rename = { enabled = true },
|
||||
scope = { enabled = false },
|
||||
scratch = { enabled = false },
|
||||
scroll = { enabled = false },
|
||||
statuscolumn = { enabled = false },
|
||||
terminal = { enabled = false },
|
||||
toggle = { enabled = false },
|
||||
win = { enabled = false },
|
||||
words = { enabled = true },
|
||||
zen = { enabled = false },
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>zz",
|
||||
function()
|
||||
Snacks.zen()
|
||||
end,
|
||||
desc = "Toggle Zen Mode",
|
||||
},
|
||||
{
|
||||
"<leader>zZ",
|
||||
function()
|
||||
Snacks.zen.zoom()
|
||||
end,
|
||||
desc = "Toggle Zoom",
|
||||
},
|
||||
{
|
||||
"<leader>Nn",
|
||||
function()
|
||||
Snacks.notifier.show_history()
|
||||
end,
|
||||
desc = "Notification History",
|
||||
},
|
||||
},
|
||||
init = function()
|
||||
vim.api.nvim_create_autocmd("User", {
|
||||
pattern = "VeryLazy",
|
||||
callback = function()
|
||||
-- Setup some globals for debugging (lazy-loaded)
|
||||
_G.dd = function(...)
|
||||
Snacks.debug.inspect(...)
|
||||
end
|
||||
_G.bt = function()
|
||||
Snacks.debug.backtrace()
|
||||
end
|
||||
vim.print = _G.dd -- Override print to use snacks for `:=` command
|
||||
end,
|
||||
})
|
||||
vim.api.nvim_create_autocmd("User", {
|
||||
pattern = "OilActionsPost",
|
||||
callback = function(event)
|
||||
if event.data.actions.type == "move" then
|
||||
Snacks.rename.on_rename_file(event.data.actions.src_url, event.data.actions.dest_url)
|
||||
end
|
||||
end,
|
||||
})
|
||||
end,
|
||||
}
|
||||
5
lua/plugins/startuptime.lua
Normal file
5
lua/plugins/startuptime.lua
Normal file
@ -0,0 +1,5 @@
|
||||
return {
|
||||
"dstein64/vim-startuptime",
|
||||
evnet = "VeryLazy",
|
||||
cmd = { "StartupTime" },
|
||||
}
|
||||
@ -1,7 +0,0 @@
|
||||
return {
|
||||
"razak17/tailwind-fold.nvim",
|
||||
opts = {},
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
cmd = { "TailwindFoldEnable", "TailwindFoldDisable", "TailwindFoldToggle" },
|
||||
ft = { "html", "htmldjango", "svelte", "astro", "vue", "javascriptreact", "typescriptreact", "php", "blade" },
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
return {
|
||||
"luckasRanarison/tailwind-tools.nvim",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
enabled = false,
|
||||
ft = { "html", "htmldjango", "svelte", "astro", "vue", "javascriptreact", "typescriptreact", "php", "blade" },
|
||||
cmd = {
|
||||
"TailwindConcealEnable",
|
||||
"TailwindConcealDisable",
|
||||
"TailwindConcealToggle",
|
||||
"TailwindColorEnable",
|
||||
"TailwindColorDisable",
|
||||
"TailwindColorToggle",
|
||||
"TailwindSort",
|
||||
"TailwindSortSelection",
|
||||
"TailwindNextClass",
|
||||
"TailwindPrevClass",
|
||||
},
|
||||
opts = {
|
||||
document_color = {
|
||||
enabled = true, -- can be toggled by commands
|
||||
kind = "background", -- "inline" | "foreground" | "background"
|
||||
inline_symbol = " ", -- only used in inline mode
|
||||
debounce = 200, -- in milliseconds, only applied in insert mode
|
||||
},
|
||||
conceal = {
|
||||
enabled = false, -- can be toggled by commands
|
||||
symbol = "", -- only a single character is allowed
|
||||
highlight = { -- extmark highlight options, see :h 'highlight'
|
||||
fg = "#38BDF8",
|
||||
},
|
||||
},
|
||||
custom_filetypes = {}, -- see the extension section to learn how it works
|
||||
},
|
||||
}
|
||||
43
lua/plugins/tailwind.lua
Normal file
43
lua/plugins/tailwind.lua
Normal file
@ -0,0 +1,43 @@
|
||||
return {
|
||||
{
|
||||
"razak17/tailwind-fold.nvim",
|
||||
opts = {},
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
cmd = { "TailwindFoldEnable", "TailwindFoldDisable", "TailwindFoldToggle" },
|
||||
ft = { "html", "htmldjango", "svelte", "astro", "vue", "javascriptreact", "typescriptreact", "php", "blade" },
|
||||
},
|
||||
{
|
||||
"luckasRanarison/tailwind-tools.nvim",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
enabled = false,
|
||||
ft = { "html", "htmldjango", "svelte", "astro", "vue", "javascriptreact", "typescriptreact", "php", "blade" },
|
||||
cmd = {
|
||||
"TailwindConcealEnable",
|
||||
"TailwindConcealDisable",
|
||||
"TailwindConcealToggle",
|
||||
"TailwindColorEnable",
|
||||
"TailwindColorDisable",
|
||||
"TailwindColorToggle",
|
||||
"TailwindSort",
|
||||
"TailwindSortSelection",
|
||||
"TailwindNextClass",
|
||||
"TailwindPrevClass",
|
||||
},
|
||||
opts = {
|
||||
document_color = {
|
||||
enabled = true, -- can be toggled by commands
|
||||
kind = "background", -- "inline" | "foreground" | "background"
|
||||
inline_symbol = " ", -- only used in inline mode
|
||||
debounce = 200, -- in milliseconds, only applied in insert mode
|
||||
},
|
||||
conceal = {
|
||||
enabled = false, -- can be toggled by commands
|
||||
symbol = "", -- only a single character is allowed
|
||||
highlight = { -- extmark highlight options, see :h 'highlight'
|
||||
fg = "#38BDF8",
|
||||
},
|
||||
},
|
||||
custom_filetypes = {}, -- see the extension section to learn how it works
|
||||
},
|
||||
},
|
||||
}
|
||||
@ -1,23 +0,0 @@
|
||||
return {
|
||||
"folke/twilight.nvim",
|
||||
opts = {
|
||||
dimming = {
|
||||
alpha = 0.25, -- amount of dimming
|
||||
-- we try to get the foreground from the highlight groups or fallback color
|
||||
color = { "Normal", "#ffffff" },
|
||||
term_bg = "#000000", -- if guibg=NONE, this will be used to calculate text color
|
||||
inactive = false, -- when true, other windows will be fully dimmed (unless they contain the same buffer)
|
||||
},
|
||||
context = 10, -- amount of lines we will try to show around the current line
|
||||
treesitter = true, -- use treesitter when available for the filetype
|
||||
-- treesitter is used to automatically expand the visible text,
|
||||
-- but you can further control the types of nodes that should always be fully expanded
|
||||
expand = { -- for treesitter, we we always try to expand to the top-most ancestor with these types
|
||||
"function",
|
||||
"method",
|
||||
"table",
|
||||
"if_statement",
|
||||
},
|
||||
exclude = {}, -- exclude these filetypes
|
||||
},
|
||||
}
|
||||
@ -1,6 +1,7 @@
|
||||
return {
|
||||
"folke/zen-mode.nvim",
|
||||
dependencies = { "lukas-reineke/indent-blankline.nvim" },
|
||||
enabled = false,
|
||||
keys = {
|
||||
{
|
||||
"<leader>zz",
|
||||
|
||||
@ -2,6 +2,8 @@ base: lua51
|
||||
globals:
|
||||
vim:
|
||||
any: true
|
||||
Snacks:
|
||||
any: true
|
||||
assert:
|
||||
args:
|
||||
- type: bool
|
||||
|
||||
9
queries/markdown/folds.scm
Normal file
9
queries/markdown/folds.scm
Normal file
@ -0,0 +1,9 @@
|
||||
; Folds a section of the document
|
||||
; that starts with a heading.
|
||||
((section
|
||||
(atx_heading)) @fold
|
||||
(#trim! @fold))
|
||||
|
||||
; (#trim!) is used to prevent empty
|
||||
; lines at the end of the section
|
||||
; from being folded.
|
||||
Binary file not shown.
@ -417,3 +417,32 @@ procedurally
|
||||
nepieciešamo
|
||||
nepieciešamo
|
||||
izejams
|
||||
Furjē
|
||||
Pamatkoncepti
|
||||
domēns
|
||||
Furje
|
||||
franču
|
||||
pamatformula
|
||||
Spektrālā
|
||||
kvatu
|
||||
kvantu
|
||||
Pārlase
|
||||
algoritmi
|
||||
Kvantiski
|
||||
utml
|
||||
Pielietojamība
|
||||
naratīvs
|
||||
mājas
|
||||
Pedagoģiska
|
||||
beidz
|
||||
Tjūringa
|
||||
uzrakstītie
|
||||
beigušies
|
||||
Aizstāj
|
||||
Doti
|
||||
Propozīcija
|
||||
grauj
|
||||
unitāru
|
||||
Unitāras
|
||||
Unitaritātes
|
||||
mājasdarbs
|
||||
|
||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user