Compare commits

..

No commits in common. "bb7bbc787c67cb4f200b697c8e3df7131136f507" and "517cef14eae7ef8d1de7f740058adcda3bc26488" have entirely different histories.

36 changed files with 853 additions and 107 deletions

View File

@ -22,6 +22,10 @@ NVIM_APPNAME=kristoferssolo/SoloVim/ nvim
## Plugins
### ai
+ [supermaven-inc/supermaven-nvim](https://dotfyle.com/plugins/supermaven-inc/supermaven-nvim)
### code-runner
+ [Civitasv/cmake-tools.nvim](https://dotfyle.com/plugins/Civitasv/cmake-tools.nvim)
@ -69,6 +73,7 @@ NVIM_APPNAME=kristoferssolo/SoloVim/ nvim
### debugging
+ [Goose97/timber.nvim](https://dotfyle.com/plugins/Goose97/timber.nvim)
+ [mfussenegger/nvim-dap](https://dotfyle.com/plugins/mfussenegger/nvim-dap)
+ [theHamsta/nvim-dap-virtual-text](https://dotfyle.com/plugins/theHamsta/nvim-dap-virtual-text)
+ [rcarriga/nvim-dap-ui](https://dotfyle.com/plugins/rcarriga/nvim-dap-ui)
@ -97,6 +102,14 @@ NVIM_APPNAME=kristoferssolo/SoloVim/ nvim
+ [stevearc/conform.nvim](https://dotfyle.com/plugins/stevearc/conform.nvim)
### fuzzy-finder
+ [nvim-telescope/telescope.nvim](https://dotfyle.com/plugins/nvim-telescope/telescope.nvim)
+ [tsakirist/telescope-lazy.nvim](https://dotfyle.com/plugins/tsakirist/telescope-lazy.nvim)
+ [crispgm/telescope-heading.nvim](https://dotfyle.com/plugins/crispgm/telescope-heading.nvim)
+ [ibhagwan/fzf-lua](https://dotfyle.com/plugins/ibhagwan/fzf-lua)
+ [echasnovski/mini.pick](https://dotfyle.com/plugins/echasnovski/mini.pick)
### game
+ [ThePrimeagen/vim-be-good](https://dotfyle.com/plugins/ThePrimeagen/vim-be-good)
@ -107,6 +120,10 @@ NVIM_APPNAME=kristoferssolo/SoloVim/ nvim
+ [NeogitOrg/neogit](https://dotfyle.com/plugins/NeogitOrg/neogit)
+ [sindrets/diffview.nvim](https://dotfyle.com/plugins/sindrets/diffview.nvim)
### github
+ [ldelossa/gh.nvim](https://dotfyle.com/plugins/ldelossa/gh.nvim)
### icon
+ [nvim-tree/nvim-web-devicons](https://dotfyle.com/plugins/nvim-tree/nvim-web-devicons)
@ -123,10 +140,20 @@ NVIM_APPNAME=kristoferssolo/SoloVim/ nvim
+ [mfussenegger/nvim-lint](https://dotfyle.com/plugins/mfussenegger/nvim-lint)
+ [linrongbin16/lsp-progress.nvim](https://dotfyle.com/plugins/linrongbin16/lsp-progress.nvim)
+ [neovim/nvim-lspconfig](https://dotfyle.com/plugins/neovim/nvim-lspconfig)
+ [ldelossa/litee.nvim](https://dotfyle.com/plugins/ldelossa/litee.nvim)
+ [jmbuhr/otter.nvim](https://dotfyle.com/plugins/jmbuhr/otter.nvim)
### lsp-installer
+ [williamboman/mason.nvim](https://dotfyle.com/plugins/williamboman/mason.nvim)
### lua-colorscheme
+ [ellisonleao/gruvbox.nvim](https://dotfyle.com/plugins/ellisonleao/gruvbox.nvim)
### markdown-and-latex
+ [nvim-telescope/telescope-bibtex.nvim](https://dotfyle.com/plugins/nvim-telescope/telescope-bibtex.nvim)
+ [tadmccorkle/markdown.nvim](https://dotfyle.com/plugins/tadmccorkle/markdown.nvim)
+ [OXY2DEV/markview.nvim](https://dotfyle.com/plugins/OXY2DEV/markview.nvim)
@ -137,18 +164,20 @@ NVIM_APPNAME=kristoferssolo/SoloVim/ nvim
### media
+ [HakonHarnes/img-clip.nvim](https://dotfyle.com/plugins/HakonHarnes/img-clip.nvim)
+ [3rd/image.nvim](https://dotfyle.com/plugins/3rd/image.nvim)
### note-taking
+ [epwalsh/obsidian.nvim](https://dotfyle.com/plugins/epwalsh/obsidian.nvim)
+ [nvim-neorg/neorg](https://dotfyle.com/plugins/nvim-neorg/neorg)
+ [nvim-neorg/neorg-telescope](https://dotfyle.com/plugins/nvim-neorg/neorg-telescope)
+ [yujinyuz/gitpad.nvim](https://dotfyle.com/plugins/yujinyuz/gitpad.nvim)
### nvim-dev
+ [nvim-lua/plenary.nvim](https://dotfyle.com/plugins/nvim-lua/plenary.nvim)
+ [nvim-lua/popup.nvim](https://dotfyle.com/plugins/nvim-lua/popup.nvim)
+ [MunifTanjim/nui.nvim](https://dotfyle.com/plugins/MunifTanjim/nui.nvim)
+ [folke/lazydev.nvim](https://dotfyle.com/plugins/folke/lazydev.nvim)
+ [nvim-lua/plenary.nvim](https://dotfyle.com/plugins/nvim-lua/plenary.nvim)
### plugin-manager
@ -165,6 +194,10 @@ NVIM_APPNAME=kristoferssolo/SoloVim/ nvim
+ [Aityz/cratesearch.nvim](https://dotfyle.com/plugins/Aityz/cratesearch.nvim)
### search
+ [nvim-telescope/telescope-frecency.nvim](https://dotfyle.com/plugins/nvim-telescope/telescope-frecency.nvim)
### session
+ [folke/persistence.nvim](https://dotfyle.com/plugins/folke/persistence.nvim)
@ -192,10 +225,13 @@ NVIM_APPNAME=kristoferssolo/SoloVim/ nvim
+ [kndndrj/nvim-dbee](https://dotfyle.com/plugins/kndndrj/nvim-dbee)
+ [echasnovski/mini.nvim](https://dotfyle.com/plugins/echasnovski/mini.nvim)
+ [stevearc/dressing.nvim](https://dotfyle.com/plugins/stevearc/dressing.nvim)
+ [kiyoon/jupynium.nvim](https://dotfyle.com/plugins/kiyoon/jupynium.nvim)
+ [folke/noice.nvim](https://dotfyle.com/plugins/folke/noice.nvim)
+ [michaelrommel/nvim-silicon](https://dotfyle.com/plugins/michaelrommel/nvim-silicon)
+ [rcarriga/nvim-notify](https://dotfyle.com/plugins/rcarriga/nvim-notify)
+ [kevinhwang91/nvim-ufo](https://dotfyle.com/plugins/kevinhwang91/nvim-ufo)
+ [doctorfree/cheatsheet.nvim](https://dotfyle.com/plugins/doctorfree/cheatsheet.nvim)
+ [IogaMaster/neocord](https://dotfyle.com/plugins/IogaMaster/neocord)
### web-development
@ -203,12 +239,15 @@ NVIM_APPNAME=kristoferssolo/SoloVim/ nvim
+ [mistweaverco/kulala.nvim](https://dotfyle.com/plugins/mistweaverco/kulala.nvim)
+ [luckasRanarison/tailwind-tools.nvim](https://dotfyle.com/plugins/luckasRanarison/tailwind-tools.nvim)
### workflow
+ [m4xshen/hardtime.nvim](https://dotfyle.com/plugins/m4xshen/hardtime.nvim)
## Language Servers
+ astro
+ bashls
+ clangd
+ cmake
+ cssls
+ gopls
+ html
@ -216,11 +255,9 @@ NVIM_APPNAME=kristoferssolo/SoloVim/ nvim
+ jsonls
+ lua_ls
+ neocmake
+ svelte
+ tailwindcss
+ taplo
+ texlab
+ tsserver
+ zk
This readme was generated by [Dotfyle](https://dotfyle.com)

View File

@ -2,9 +2,9 @@
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"FixCursorHold.nvim": { "branch": "master", "commit": "1900f89dc17c603eec29960f57c00bd9ae696495" },
"LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
"blink-cmp-git": { "branch": "master", "commit": "e3ad0ffaaa3b3b7e2158cc72cd6dad2d19842c46" },
"blink-cmp-git": { "branch": "master", "commit": "226b269a50b5ece2ed95933b8d62f103f5d6a05d" },
"blink-emoji.nvim": { "branch": "master", "commit": "f22ce8cac02a6ece05368220f1e38bd34fe376f9" },
"blink-ripgrep.nvim": { "branch": "main", "commit": "721f271177c5ddd0d10b3d6374e76c4b598cdbb4" },
"blink-ripgrep.nvim": { "branch": "main", "commit": "8dd8c8f19fde31b6aa861476efd452aa306e82ba" },
"blink.cmp": { "branch": "main", "commit": "327fff91fe6af358e990be7be1ec8b78037d2138" },
"blink.compat": { "branch": "main", "commit": "2ed6d9a28b07fa6f3bface818470605f8896408c" },
"catppuccin.nvim": { "branch": "main", "commit": "af58927c55c9f3272c940ff02b3cee94a1249f26" },
@ -16,6 +16,7 @@
"colorful-menu.nvim": { "branch": "master", "commit": "d5b97d247528be308b6b69d96b5950a30e470f3d" },
"conform.nvim": { "branch": "master", "commit": "fbcb4fa7f34bfea9be702ffff481a8e336ebf6ed" },
"crates.nvim": { "branch": "main", "commit": "afcd1cc3eeceb5783676fc8464389b9216a29d05" },
"cratesearch.nvim": { "branch": "master", "commit": "9d09625d017f6b2e116503f935bc6862961313fa" },
"css-vars.nvim": { "branch": "main", "commit": "0615782c320f729b04d9c51a8a61fb498ee4234a" },
"csvview.nvim": { "branch": "main", "commit": "bbab4c2f808fd8e11ec8dfdd128251aadba566a1" },
"darkplus.nvim": { "branch": "master", "commit": "c7fff5ce62406121fc6c9e4746f118b2b2499c4c" },
@ -39,20 +40,20 @@
"kanagawa.nvim": { "branch": "master", "commit": "27f1e119f3a7e6d11d435a59e3262e6affda1f83" },
"kulala.nvim": { "branch": "main", "commit": "0d50e9ce5c992fe507743d8641b36125e668aad4" },
"lackluster.nvim": { "branch": "main", "commit": "70dd682e564784893b984deb51dd5ddd263c8cc7" },
"lazy.nvim": { "branch": "main", "commit": "1ea3c4085785f460fb0e46d2fe1ee895f5f9e7c1" },
"lazydev.nvim": { "branch": "main", "commit": "e28ce52fc7ff79fcb76f0e79ee6fb6182fca90b9" },
"lazy.nvim": { "branch": "main", "commit": "59334064f8604ca073791c25dcc5c9698865406e" },
"lazydev.nvim": { "branch": "main", "commit": "258d2a5ef4a3e3d6d9ba9da72c9725c53e9afcbd" },
"lsp-progress.nvim": { "branch": "main", "commit": "ae52979ad412371ea6dc39ff70c8dfc681fb42b8" },
"lualine-harpoon.nvim": { "branch": "main", "commit": "9ee90e6309c4219d6a06b771b53db6a59c8d32fa" },
"lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" },
"markdown.nvim": { "branch": "master", "commit": "34bb88989ace6c678abd947662668994219996e0" },
"markview.nvim": { "branch": "main", "commit": "2ddad873796139c131e306f28534cc4f34416a77" },
"markview.nvim": { "branch": "main", "commit": "8c6d294d3d6a59f892c131d76f699b0696a25467" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "6bdb14f230de0904229ec367b410fb817e59b072" },
"mason-nvim-dap.nvim": { "branch": "main", "commit": "86389a3dd687cfaa647b6f44731e492970034baa" },
"mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" },
"melange.nvim": { "branch": "master", "commit": "ce42f6b629beeaa00591ba73a77d3eeac4cf28ce" },
"mini.icons": { "branch": "main", "commit": "397ed3807e96b59709ef3292f0a3e253d5c1dc0a" },
"mini.nvim": { "branch": "main", "commit": "94cae4660a8b2d95dbbd56e1fbc6fcfa2716d152" },
"neoconf.nvim": { "branch": "main", "commit": "80da2121212526d3694194f8b0805696ffd0893a" },
"neoconf.nvim": { "branch": "main", "commit": "ca4179bc3f10cc8bd2eff29acbc270a47bbcd298" },
"neocord": { "branch": "main", "commit": "2ebf3792a8100376bb65fd66d5dbf60f50af7529" },
"neogen": { "branch": "main", "commit": "b2e78708876f4da507839726816010a68e33fec8" },
"neogit": { "branch": "master", "commit": "e106a39a8a37a9420f374545c876f8b52baf1c80" },
@ -63,7 +64,7 @@
"neotest-vim-test": { "branch": "master", "commit": "75c4228882ae4883b11bfce9b8383e637eb44192" },
"nightfly.nvim": { "branch": "master", "commit": "502136cc4ec2eb94b054a30d583706f1b516c52b" },
"nightfox.nvim": { "branch": "main", "commit": "ba47d4b4c5ec308718641ba7402c143836f35aa9" },
"noice.nvim": { "branch": "main", "commit": "38c702be0d8fea81527ee6a73e1e834e72481193" },
"noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-colorizer.lua": { "branch": "master", "commit": "51cf7c995ed1eb6642aecf19067ee634fa1b6ba2" },
"nvim-dap": { "branch": "master", "commit": "881f7dc17c0b4204a1d844732f95539575350e5b" },
@ -84,29 +85,28 @@
"nvim-ufo": { "branch": "main", "commit": "72d54c31079d38d8dfc5456131b1d0fb5c0264b0" },
"nvim-web-devicons": { "branch": "master", "commit": "b8221e42cf7287c4dcde81f232f58d7b947c210d" },
"obsidian.nvim": { "branch": "main", "commit": "ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b" },
"octo.nvim": { "branch": "master", "commit": "fded71669b61c6ccae9d8ade30f667c3c4962b48" },
"oil-git.nvim": { "branch": "main", "commit": "d1f27a5982df35b70fb842aa6bbfac10735c7265" },
"oil-lsp-diagnostics.nvim": { "branch": "master", "commit": "e04e3c387262b958fee75382f8ff66eae9d037f4" },
"oil.nvim": { "branch": "master", "commit": "975a77cce3c8cb742bc1b3629f4328f5ca977dad" },
"onedark.nvim": { "branch": "master", "commit": "de495fabe171d48aed5525f002d14414efcecbb2" },
"otter.nvim": { "branch": "main", "commit": "c44d645f03ae96e2e3cdc37f92ecfa93a534b736" },
"persistence.nvim": { "branch": "main", "commit": "51eef57272742b773468949f6bd0503ec3f83874" },
"persistence.nvim": { "branch": "main", "commit": "166a79a55bfa7a4db3e26fc031b4d92af71d0b51" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" },
"rainbow-delimiters.nvim": { "branch": "master", "commit": "3277ad5f96eb03c9d618c88e24f683e4364e578c" },
"rainbow_csv.nvim": { "branch": "main", "commit": "26de78d8324f7ac6a3e478319d1eb1f17123eb5b" },
"rose-pine.nvim": { "branch": "main", "commit": "72a04c4065345b51b56aed4859ea1d884f734097" },
"rustaceanvim": { "branch": "master", "commit": "e9c5aaba16fead831379d5f44617547a90b913c7" },
"snacks.nvim": { "branch": "main", "commit": "dae80fb393f712bd7352a20f9185f5e16b69f20f" },
"snacks.nvim": { "branch": "main", "commit": "bfe8c26dbd83f7c4fbc222787552e29b4eccfcc0" },
"spellwarn.nvim": { "branch": "main", "commit": "47ada88a843f52f7aa90c018cc7ef514587bc3fd" },
"tagbar": { "branch": "master", "commit": "7bfffca1f121afb7a9e38747500bf5270e006bb1" },
"tailwind-fold.nvim": { "branch": "main", "commit": "d9e7ca11691d252b35795726dff087bf013b2ebf" },
"todo-comments.nvim": { "branch": "main", "commit": "19d461ddd543e938eb22505fb03fa878800270b6" },
"tokyonight.nvim": { "branch": "main", "commit": "00d92e6009671493fceeb0e4baf644f5b983e6e4" },
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
"tokyonight.nvim": { "branch": "main", "commit": "4d159616aee17796c2c94d2f5f87d2ee1a3f67c7" },
"tree-sitter-bruno": { "branch": "main", "commit": "347e99f256930213cd7fcd0efe3f9af83035c4b1" },
"tree-sitter-ghostty": { "branch": "main", "commit": "2a9ae7233b6707e84b3a79c8778427f58aa4b6d0" },
"trouble.nvim": { "branch": "main", "commit": "c098362fe603d3922095e7db595961e020bdf2d0" },
"ts-comments.nvim": { "branch": "main", "commit": "217ab9cc137fceb6659b53790bd25e608219abe1" },
"trouble.nvim": { "branch": "main", "commit": "f176232e7759c4f8abd923c21e3e5a5c76cd6837" },
"ts-comments.nvim": { "branch": "main", "commit": "1bd9d0ba1d8b336c3db50692ffd0955fe1bb9f0c" },
"ts-error-translator.nvim": { "branch": "main", "commit": "47e5ba89f71b9e6c72eaaaaa519dd59bd6897df4" },
"typecheck.nvim": { "branch": "main", "commit": "5a0b0f50be009e85c337f3e183fa6cd28a3c95a0" },
"typescript-tools.nvim": { "branch": "master", "commit": "bf11d98ad5736e1cbc1082ca9a03196d45c701f1" },

View File

@ -48,6 +48,13 @@ vim.api.nvim_create_autocmd({ "InsertEnter" }, {
end,
})
vim.api.nvim_create_autocmd({ "BufWinEnter" }, {
pattern = "**/Codnity/**",
callback = function()
vim.opt.colorcolumn = "92"
end,
})
vim.api.nvim_create_autocmd({ "BufWinEnter" }, {
pattern = "requirements*.txt",
callback = function()
@ -55,6 +62,13 @@ vim.api.nvim_create_autocmd({ "BufWinEnter" }, {
end,
})
--[[ vim.api.nvim_create_autocmd({ "BufWinEnter" }, {
pattern = "**/Codnity/**/*.html",
callback = function()
vim.cmd("setf htmldjango")
end,
}) ]]
-- Autocommand that sources neovim files on save
--[[ vim.api.nvim_create_autocmd({ "BufWritePost" }, {
group = vim.api.nvim_create_augroup("AutoReloadConfig", { clear = true }),

View File

@ -29,6 +29,10 @@ return {
"epwalsh/obsidian.nvim",
event = "BufReadPre " .. vim.fn.expand("~") .. "/Obsidian/**/*.md",
},
{
"kiyoon/jupynium.nvim",
event = "BufReadPre *.ju.py",
},
},
version = "*",
opts = {
@ -71,6 +75,7 @@ return {
"buffer",
"snippets",
"ripgrep",
"jupynium",
"css_vars",
},
per_filetype = {
@ -135,6 +140,11 @@ return {
score_offset = 15,
opts = { insert = true },
},
jupynium = {
name = "jupynium",
module = "jupynium.blink_cmp",
score_offset = 100,
},
git = {
score_offset = 100,
module = "blink-cmp-git",

View File

@ -1,4 +1,30 @@
return {
"laytan/cloak.nvim",
opts = {},
opts = {
enabled = true,
cloak_character = "*",
-- The applied highlight group (colors) on the cloaking, see `:h highlight`.
highlight_group = "Comment",
-- Applies the length of the replacement characters for all matched
-- patterns, defaults to the length of the matched pattern.
cloak_length = nil, -- Provide a number if you want to hide the true length of the value.
-- Wether it should try every pattern to find the best fit or stop after the first.
try_all_patterns = true,
patterns = {
{
-- Match any file starting with '.env'.
-- This can be a table to match multiple file patterns.
file_pattern = { ".env*" },
-- Match an equals sign and any character after it.
-- This can also be a table of patterns to cloak,
-- example: cloak_pattern = { ':.+', '-.+' } for yaml files.
cloak_pattern = "=.+",
-- A function, table or string to generate the replacement.
-- The actual replacement will contain the 'cloak_character'
-- where it doesn't cover the original text.
-- If left empty the legacy behavior of keeping the first character is retained.
replace = nil,
},
},
},
}

View File

@ -3,14 +3,67 @@ return {
ft = { "cpp", "c", "cmake" },
dependencies = { "nvim-lua/plenary.nvim" },
opts = {
cmake_build_directory = "target/build/",
cmake_executor = {
default_opts = {
cmake_command = "cmake", -- this is used to specify cmake command path
cmake_regenerate_on_save = true, -- auto generate when save CMakeLists.txt
cmake_generate_options = { "-DCMAKE_EXPORT_COMPILE_COMMANDS=1" }, -- this will be passed when invoke `CMakeGenerate`
cmake_build_options = {}, -- this will be passed when invoke `CMakeBuild`
cmake_build_directory = "target/build/", -- this is used to specify generate directory for cmake
cmake_build_directory_prefix = "cmake_build_", -- when cmake_build_directory is set to "", this option will be activated
cmake_soft_link_compile_commands = true, -- this will automatically make a soft link from compile commands file to project root dir
cmake_compile_commands_from_lsp = false, -- this will automatically set compile commands file location using lsp, to use it, please set `cmake_soft_link_compile_commands` to false
cmake_kits_path = nil, -- this is used to specify global cmake kits path, see CMakeKits for detailed usage
cmake_variants_message = {
short = { show = true }, -- whether to show short message
long = { show = true, max_length = 40 }, -- whether to show long message
},
cmake_dap_configuration = { -- debug settings for cmake
name = "cpp",
type = "codelldb",
request = "launch",
stopOnEntry = false,
runInTerminal = true,
console = "integratedTerminal",
},
cmake_executor = { -- executor to use
name = "quickfix", -- name of the executor
opts = {}, -- the options the executor will get, possible values depend on the executor type. See `default_opts` for possible values.
default_opts = { -- a list of default and possible values for executors
quickfix = {
show = "only_on_error",
show = "only_on_error", -- "always", "only_on_error"
position = "belowright", -- "bottom", "top"
size = 15,
},
overseer = {
new_task_opts = {}, -- options to pass into the `overseer.new_task` command
on_new_task = function(task) end, -- a function that gets overseer.Task when it is created, before calling `task:start`
},
terminal = {}, -- terminal executor uses the values in cmake_terminal
},
},
cmake_terminal = {
name = "terminal",
opts = {
name = "Main Terminal",
prefix_name = "[CMakeTools]: ", -- This must be included and must be unique, otherwise the terminals will not work. Do not use a simple spacebar " ", or any generic name
split_direction = "vertical", -- "horizontal", "vertical"
split_size = 50,
-- Window handling
single_terminal_per_instance = true, -- Single viewport, multiple windows
single_terminal_per_tab = true, -- Single viewport per tab
keep_terminal_static_location = true, -- Static location of the viewport if avialable
-- Running Tasks
start_insert_in_launch_task = false, -- If you want to enter terminal with :startinsert upon using :CMakeRun
start_insert_in_other_tasks = false, -- If you want to enter terminal with :startinsert upon launching all other cmake tasks in the terminal. Generally set as false
focus_on_main_terminal = false, -- Focus on cmake terminal when cmake task is launched. Only used if executor is terminal.
focus_on_launch_terminal = false, -- Focus on cmake launch terminal when executable target in launched.
},
},
cmake_notifications = {
enabled = true, -- show cmake execution progress in nvim-notify
spinner = { "", "", "", "", "", "", "", "", "", "" }, -- icons used for progress display
refresh_rate_ms = 100, -- how often to iterate icons
},
},
}

View File

@ -1,16 +1,49 @@
return {
"catgoose/nvim-colorizer.lua",
event = "BufReadPre",
"NvChad/nvim-colorizer.lua",
opts = {
user_default_options = {
names = false,
css = true,
css_fn = true,
tailwind = true,
tailwind_opts = {
update_names = true,
},
sass = { enable = true, parsers = { "css" } },
filetypes = {
"html",
"javascriptreact",
"css",
"javascript",
"lua",
"yaml",
"conf",
"toml",
"scss",
"python",
"typst",
"htmldjango",
"conf",
"rust",
"kdl",
"ini",
},
user_default_options = {
RGB = true, -- #RGB hex codes
RRGGBB = true, -- #RRGGBB hex codes
names = false, -- "Name" codes like Blue or blue
RRGGBBAA = true, -- #RRGGBBAA hex codes
AARRGGBB = true, -- 0xAARRGGBB hex codes
rgb_fn = true, -- CSS rgb() and rgba() functions
hsl_fn = true, -- CSS hsl() and hsla() functions
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
-- Available modes for `mode`: foreground, background, virtualtext
mode = "background", -- Set the display mode.
-- Available methods are false / true / "normal" / "lsp" / "both"
-- True is same as normal
tailwind = true, -- Enable tailwind colors
-- parsers can contain values used in |user_default_options|
sass = {
enable = true,
parsers = { "css" },
}, -- Enable sass colors
virtualtext = "",
},
-- all the sub-options of filetypes apply to buftypes
buftypes = {},
html = { names = true },
css = { names = true },
},
}

View File

@ -1,5 +1,61 @@
return {
"numToStr/Comment.nvim",
event = { "BufReadPre", "BufNewFile" },
opts = {},
opts = {
---Add a space b/w comment and the line
padding = true,
---Whether the cursor should stay at its position
sticky = true,
---Lines to be ignored while (un)comment
ignore = nil,
---LHS of toggle mappings in NORMAL mode
toggler = {
---Line-comment toggle keymap
line = "gcc",
---Block-comment toggle keymap
block = "gbb",
},
-- -LHS of operator-pending mappings in NORMAL and VISUAL mode
opleader = {
---Line-comment keymap
line = "gc",
---Block-comment keymap
block = "gb",
},
---LHS of extra mappings
extra = {
---Add comment on the line above
above = "gcO",
---Add comment on the line below
below = "gco",
---Add comment at the end of line
eol = "gcA",
},
--- Enable keybindings
--- NOTE: If given `false` then the plugin won't create any mappings
mappings = {
---Operator-pending mapping; `gcc` `gbc` `gc[count]{motion}` `gb[count]{motion}`
basic = true,
---Extra mapping; `gco`, `gcO`, `gcA`
extra = true,
---Extended mapping; `g>` `g<` `g>[count]{motion}` `g<[count]{motion}`
extended = true,
},
---Function to call before (un)comment
-- pre_hook = function(ctx)
-- local U = require("Comment.utils")
--
-- local location = nil
-- if ctx.ctype == U.ctype.block then
-- location = require("ts_context_commentstring.utils").get_cursor_location()
-- elseif ctx.cmotion == U.cmotion.v or ctx.cmotion == U.cmotion.V then
-- location = require("ts_context_commentstring.utils").get_visual_start_location()
-- end
--
-- return require("ts_context_commentstring.internal").calculate_commentstring({
-- key = ctx.ctype == U.ctype.line and "__default" or "__multiline",
-- location = location,
-- })
-- end,
},
}

View File

@ -12,7 +12,7 @@ return {
function()
require("conform").format({ async = true, lsp_fallback = "fallback" })
end,
mode = { "n", "v", "x" },
mode = "",
desc = "Format buffer",
},
},

View File

@ -1,22 +1,159 @@
return {
"Saecki/crates.nvim",
tag = "stable",
event = { "BufRead Cargo.toml" },
keys = {
{
"<leader>ru",
require("crates").upgrade_all_crates,
desc = "Upgrade all crates",
ft = { "rust", "toml" },
},
},
opts = {
completion = {
cmp = {
enabled = true,
{
"Saecki/crates.nvim",
tag = "stable",
event = { "BufRead Cargo.toml" },
keys = {
{
"<leader>ru",
require("crates").upgrade_all_crates,
desc = "Upgrade all crates",
ft = { "rust", "toml" },
},
},
date_format = "%d-%m-%Y",
thousands_separator = " ",
opts = {
completion = {
cmp = {
enabled = true,
},
},
smart_insert = true,
insert_closing_quote = true,
autoload = true,
autoupdate = true,
loading_indicator = true,
date_format = "%d-%m-%Y",
thousands_separator = ".",
notification_title = "Crates",
-- disable_invalid_feature_diagnostic = false,
text = {
loading = "  Loading",
version = "  %s",
prerelease = "  %s",
yanked = "  %s",
nomatch = "  No match",
upgrade = "  %s",
error = "  Error fetching crate",
},
highlight = {
loading = "CratesNvimLoading",
version = "CratesNvimVersion",
prerelease = "CratesNvimPreRelease",
yanked = "CratesNvimYanked",
nomatch = "CratesNvimNoMatch",
upgrade = "CratesNvimUpgrade",
error = "CratesNvimError",
},
popup = {
autofocus = false,
copy_register = '"',
style = "minimal",
border = "none",
show_version_date = false,
show_dependency_version = true,
max_height = 30,
min_width = 20,
padding = 1,
text = {
title = " %s",
pill_left = "",
pill_right = "",
description = "%s",
created_label = " created ",
created = "%s",
updated_label = " updated ",
updated = "%s",
downloads_label = " downloads ",
downloads = "%s",
homepage_label = " homepage ",
homepage = "%s",
repository_label = " repository ",
repository = "%s",
documentation_label = " documentation ",
documentation = "%s",
crates_io_label = " crates.io ",
crates_io = "%s",
categories_label = " categories ",
keywords_label = " keywords ",
version = " %s",
prerelease = " %s",
yanked = " %s",
version_date = " %s",
feature = " %s",
enabled = " %s",
transitive = " %s",
normal_dependencies_title = " Dependencies",
build_dependencies_title = " Build dependencies",
dev_dependencies_title = " Dev dependencies",
dependency = " %s",
optional = " %s",
dependency_version = " %s",
loading = "",
},
highlight = {
title = "CratesNvimPopupTitle",
pill_text = "CratesNvimPopupPillText",
pill_border = "CratesNvimPopupPillBorder",
description = "CratesNvimPopupDescription",
created_label = "CratesNvimPopupLabel",
created = "CratesNvimPopupValue",
updated_label = "CratesNvimPopupLabel",
updated = "CratesNvimPopupValue",
downloads_label = "CratesNvimPopupLabel",
downloads = "CratesNvimPopupValue",
homepage_label = "CratesNvimPopupLabel",
homepage = "CratesNvimPopupUrl",
repository_label = "CratesNvimPopupLabel",
repository = "CratesNvimPopupUrl",
documentation_label = "CratesNvimPopupLabel",
documentation = "CratesNvimPopupUrl",
crates_io_label = "CratesNvimPopupLabel",
crates_io = "CratesNvimPopupUrl",
categories_label = "CratesNvimPopupLabel",
keywords_label = "CratesNvimPopupLabel",
version = "CratesNvimPopupVersion",
prerelease = "CratesNvimPopupPreRelease",
yanked = "CratesNvimPopupYanked",
version_date = "CratesNvimPopupVersionDate",
feature = "CratesNvimPopupFeature",
enabled = "CratesNvimPopupEnabled",
transitive = "CratesNvimPopupTransitive",
normal_dependencies_title = "CratesNvimPopupNormalDependenciesTitle",
build_dependencies_title = "CratesNvimPopupBuildDependenciesTitle",
dev_dependencies_title = "CratesNvimPopupDevDependenciesTitle",
dependency = "CratesNvimPopupDependency",
optional = "CratesNvimPopupOptional",
dependency_version = "CratesNvimPopupDependencyVersion",
loading = "CratesNvimPopupLoading",
},
keys = {
hide = { "q", "<esc>" },
open_url = { "<cr>" },
select = { "<cr>" },
select_alt = { "s" },
toggle_feature = { "<cr>" },
copy_value = { "yy" },
goto_item = { "gd", "K", "<C-LeftMouse>" },
jump_forward = { "<c-i>" },
jump_back = { "<c-o>", "<C-RightMouse>" },
},
},
--[[ src = {
insert_closing_quote = true,
text = {
prerelease = "  pre-release ",
yanked = "  yanked ",
},
}, ]]
},
},
{
"Aityz/cratesearch.nvim",
event = { "BufRead Cargo.toml" },
ft = { "rust" },
cmd = { "CrateSearch" },
config = function()
require("cratesearch").setup()
end,
},
}

View File

@ -1,5 +1,6 @@
return {
"wintermute-cell/gitignore.nvim",
dependencies = {},
cmd = { "Gitignore" },
keys = {
{
@ -10,4 +11,7 @@ return {
desc = "Git Ignore",
},
},
config = function()
require("gitignore")
end,
}

61
lua/plugins/gitsigns.lua Normal file
View File

@ -0,0 +1,61 @@
return {
"lewis6991/gitsigns.nvim",
enabled = false,
event = "BufReadPre",
cmd = "Gitsigns",
keys = {
{
"<leader>gb",
function()
vim.cmd.Gitsigns("blame_line")
end,
desc = "Git Blame",
},
},
opts = {
signs = {
add = { text = "" },
change = { text = "" },
delete = { text = "_" },
topdelete = { text = "" },
changedelete = { text = "~" },
untracked = { text = "" },
},
signcolumn = true, -- Toggle with `:Gitsigns toggle_signs`
numhl = false, -- Toggle with `:Gitsigns toggle_numhl`
linehl = false, -- Toggle with `:Gitsigns toggle_linehl`
word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff`
watch_gitdir = {
follow_files = true,
},
auto_attach = true,
attach_to_untracked = true,
current_line_blame = false, -- Toggle with `:Gitsigns toggle_current_line_blame`
current_line_blame_opts = {
virt_text = true,
virt_text_pos = "eol", -- 'eol' | 'overlay' | 'right_align'
delay = 100,
ignore_whitespace = false,
virt_text_priority = 100,
},
current_line_blame_formatter = "<author>, <author_time:%R> - <summary>",
sign_priority = 6,
update_debounce = 100,
status_formatter = nil, -- Use default
max_file_length = 10000, -- Disable if file is longer than this (in lines)
preview_config = {
-- Options passed to nvim_open_win
border = "single",
style = "minimal",
relative = "cursor",
row = 0,
col = 1,
},
on_attach = function(bufnr)
if vim.api.nvim_buf_get_name(bufnr):match("%.ipynb$") then
-- Do not attach for .ipynb file, since these are converted with jupytext.nvim
return false
end
end,
},
}

View File

@ -9,6 +9,7 @@ return {
end,
},
{
"<A-p>",
function()
require("illuminate").goto_prev_reference()

View File

@ -3,6 +3,9 @@ return {
"MysticalDevil/inlay-hints.nvim",
event = "LspAttach",
dependencies = { "neovim/nvim-lspconfig" },
keys = {
{ "<leader>oi", vim.cmd.InlayHintsToggle, desc = "Toggle InlayHints" },
},
opts = {
commands = { enable = true }, -- Enable InlayHints commands, include `InlayHintsToggle`, `InlayHintsEnable` and `InlayHintsDisable`
autocmd = { enable = true }, -- Enable the inlay hints on `LspAttach` event

View File

@ -3,6 +3,8 @@ return {
ft = "lua",
opts = {
library = {
-- See the configuration section for more details
-- Load luvit types when the `vim.uv` word is found
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
},
},

View File

@ -1,17 +1,77 @@
return {
{
"tadmccorkle/markdown.nvim",
ft = { "markdown" },
opts = {},
ft = { "markdown", "Avante" },
opts = {
-- Disable all keymaps by setting mappings field to 'false'.
-- Selectively disable keymaps by setting corresponding field to 'false'.
mappings = {
inline_surround_toggle = "gs", -- (string|boolean) toggle inline style
inline_surround_toggle_line = "gss", -- (string|boolean) line-wise toggle inline style
inline_surround_delete = "ds", -- (string|boolean) delete emphasis surrounding cursor
inline_surround_change = "cs", -- (string|boolean) change emphasis surrounding cursor
link_add = "gl", -- (string|boolean) add link
link_follow = "gx", -- (string|boolean) follow link
go_curr_heading = "]c", -- (string|boolean) set cursor to current section heading
go_parent_heading = "]p", -- (string|boolean) set cursor to parent section heading
go_next_heading = "]]", -- (string|boolean) set cursor to next section heading
go_prev_heading = "[[", -- (string|boolean) set cursor to previous section heading
},
inline_surround = {
-- For the emphasis, strong, strikethrough, and code fields:
-- * 'key': used to specify an inline style in toggle, delete, and change operations
-- * 'txt': text inserted when toggling or changing to the corresponding inline style
emphasis = {
key = "i",
txt = "*",
},
strong = {
key = "b",
txt = "**",
},
strikethrough = {
key = "s",
txt = "~~",
},
code = {
key = "c",
txt = "`",
},
},
link = {
paste = {
enable = true, -- whether to convert URLs to links on paste
},
},
toc = {
-- Comment text to flag headings/sections for omission in table of contents.
omit_heading = "toc omit heading",
omit_section = "toc omit section",
-- Cycling list markers to use in table of contents.
-- Use '.' and ')' for ordered lists.
markers = { "-" },
},
-- Hook functions allow for overriding or extending default behavior.
-- Called with a table of options and a fallback function with default behavior.
-- Signature: fun(opts: table, fallback: fun())
hooks = {
-- Called when following links. Provided the following options:
-- * 'dest' (string): the link destination
-- * 'use_default_app' (boolean|nil): whether to open the destination with default application
-- (refer to documentation on <Plug> mappings for explanation of when this option is used)
follow_link = nil,
},
on_attach = nil, -- (fun(bufnr: integer)) callback when plugin attaches to a buffer
},
},
{
"OXY2DEV/markview.nvim",
dependencies = {
"saghen/blink.cmp",
{ "echasnovski/mini.icons", version = "*" },
},
ft = { "markdown" },
ft = { "markdown", "Avante" },
lazy = false,
priority = 49,
opts = {
preview = {
icon_provider = "mini",

View File

@ -4,10 +4,10 @@ return {
opts = {
enabled = {
"ai",
"diff",
-- "pairs",
"splitjoin",
"surround",
"diff",
},
},
config = function(_, opts)

43
lua/plugins/neoconf.lua Normal file
View File

@ -0,0 +1,43 @@
return {
"folke/neoconf.nvim",
cmd = { "Neoconf" },
opts = {
-- name of the local settings files
local_settings = ".neoconf.json",
-- name of the global settings file in your Neovim config directory
global_settings = "neoconf.json",
-- import existing settings from other plugins
import = {
vscode = true, -- local .vscode/settings.json
coc = true, -- global/local coc-settings.json
nlsp = true, -- global/local nlsp-settings.nvim json settings
},
-- send new configuration to lsp clients when changing json settings
live_reload = true,
-- set the filetype to jsonc for settings files, so you can use comments
-- make sure you have the jsonc treesitter parser installed!
filetype_jsonc = true,
plugins = {
-- configures lsp clients with settings in the following order:
-- - lua settings passed in lspconfig setup
-- - global json settings
-- - local json settings
lspconfig = {
enabled = true,
},
-- configures jsonls to get completion in .nvim.settings.json files
jsonls = {
enabled = true,
-- only show completion in json settings for configured lsp servers
configured_servers_only = true,
},
-- configures lua_ls to get completion of lspconfig server settings
lua_ls = {
-- by default, lua_ls annotations are only enabled in your neovim config directory
enabled_for_neovim_config = true,
-- explicitly enable adding annotations. Mostly relevant to put in your local .nvim.settings.json file
enabled = false,
},
},
},
}

View File

@ -1,11 +0,0 @@
return {
"pwntester/octo.nvim",
requires = {
"nvim-lua/plenary.nvim",
"folke/snacks.nvim",
"nvim-tree/nvim-web-devicons",
},
opts = {
picker = "snacks",
},
}

View File

@ -16,9 +16,20 @@ return {
opts = {
columns = {
"icon",
-- "permissions",
"size",
-- "mtime",
},
-- Restore window options to previous values when leaving an oil buffer
restore_win_options = true,
-- Skip the confirmation popup for simple operations
delete_to_trash = true,
-- Keymaps in oil buffer. Can be any value that `vim.keymap.set` accepts OR a table of keymap
-- options with a `callback` (e.g. { callback = function() ... end, desc = "", nowait = true })
-- Additionally, if it is a string that matches "actions.<name>",
-- it will use the mapping at require("oil.actions").<name>
-- Set to `false` to remove a keymap
-- See :help oil-actions for a list of all available actions
keymaps = {
["<C-v>"] = { "actions.select", opts = { vertical = true } },
["<C-s>"] = { "actions.select", opts = { horizontal = true } },
@ -33,8 +44,10 @@ return {
-- Set to false to disable all of the above keymaps
use_default_keymaps = true,
view_options = {
-- Show files and directories that start with "."
show_hidden = true,
},
-- Configuration for the floating window in oil.open_float
float = {
win_options = {
winblend = 10,

8
lua/plugins/otter.lua Normal file
View File

@ -0,0 +1,8 @@
return {
"jmbuhr/otter.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
enabled = false,
opts = {},
}

View File

@ -3,19 +3,12 @@ return {
event = "BufReadPre",
keys = {
{
"<leader>qq",
"<leader>qs",
function()
require("persistence").load()
end,
desc = "Restore the session for the current directory",
},
{
"<leader>qs",
function()
require("persistence").select()
end,
desc = "Select a session to load",
},
{
"<leader>ql",
function()

View File

@ -4,15 +4,14 @@ return {
{ "echasnovski/mini.icons", version = "*" },
"stevearc/oil.nvim",
"folke/trouble.nvim",
"folke/todo-comments.nvim",
},
priority = 1000,
lazy = false,
opts = function()
-- Toggle the profiler
Snacks.toggle.profiler():map("<leader>Sp")
Snacks.toggle.profiler():map("<leader>sp")
-- Toggle the profiler highlights
Snacks.toggle.profiler_highlights():map("<leader>Sh")
Snacks.toggle.profiler_highlights():map("<leader>sh")
return {
animate = { enabled = false },
bigfile = { enabled = true },
@ -95,7 +94,7 @@ return {
desc = "History",
},
{
"<leader>Ss",
"<leader>ss",
function()
Snacks.profiler.scratch()
end,

42
lua/plugins/spellwarn.lua Normal file
View File

@ -0,0 +1,42 @@
return {
"ravibrock/spellwarn.nvim",
event = "VeryLazy",
cmd = { "Spellwarn" },
keys = {
{
"<leader>os",
function()
vim.cmd.Spellwarn("toggle")
end,
desc = "Spellwarn toggle",
},
},
opts = {
event = { -- event(s) to refresh diagnostics on
"CursorHold",
"InsertLeave",
"TextChanged",
"TextChangedI",
"TextChangedP",
"TextChangedT",
},
ft_config = { -- spellcheck method: "cursor", "iter", or boolean
alpha = false,
help = false,
lazy = false,
lspinfo = false,
mason = false,
},
ft_default = true, -- default option for unspecified filetypes
max_file_size = nil, -- maximum file size to check in lines (nil for no limit)
severity = { -- severity for each spelling error type (false to disable diagnostics for that type)
spellbad = "WARN",
spellcap = "HINT",
spelllocal = "HINT",
spellrare = "INFO",
},
prefix = "possible misspelling(s): ", -- prefix for each diagnostic message
},
}

View File

@ -1,7 +1,43 @@
return {
"razak17/tailwind-fold.nvim",
dependencies = { "nvim-treesitter/nvim-treesitter" },
cmd = { "TailwindFoldEnable", "TailwindFoldDisable", "TailwindFoldToggle" },
ft = { "html", "htmldjango", "svelte", "astro", "vue", "javascriptreact", "typescriptreact", "php", "blade" },
opts = {},
{
"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
},
},
}

View File

@ -1,8 +1,5 @@
return {
"folke/todo-comments.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"folke/trouble.nvim",
},
dependencies = { "nvim-lua/plenary.nvim" },
opts = {},
}

View File

@ -1,5 +1,16 @@
return {
"windwp/nvim-ts-autotag",
events = { "BufReadPre", "BufNewFile" },
opts = {},
opts = {
opts = {
-- Defaults
enable_close = true, -- Auto close tags
enable_rename = true, -- Auto rename pairs of tags
enable_close_on_slash = true, -- Auto close on trailing </
},
-- Also override individual filetype configs, these take priority.
-- Empty by default, useful if one of the "opts" global settings
-- doesn't work well in a specific filetype
per_filetype = {},
},
}

View File

@ -13,8 +13,29 @@ return {
client.server_capabilities.documentRangeFormattingProvider = false
end,
settings = {
-- spawn additional tsserver instance to calculate diagnostics on it
separate_diagnostic_server = true,
-- "change"|"insert_leave" determine when the client asks the server about diagnostic
publish_diagnostic_on = "insert_leave",
-- array of strings("fix_all"|"add_missing_imports"|"remove_unused"|
-- "remove_unused_imports"|"organize_imports") -- or string "all"
-- to include all supported code actions
-- specify commands exposed as code_actions
expose_as_code_action = "all",
-- string|nil - specify a custom path to `tsserver.js` file, if this is nil or file under path
-- not exists then standard path resolution strategy is applied
tsserver_path = "tsserver",
-- specify a list of plugins to load by tsserver, e.g., for support `styled-components`
-- (see 💅 `styled-components` support section)
tsserver_plugins = {
"@styled/typescript-styled-plugin",
},
-- this value is passed to: https://nodejs.org/api/cli.html#--max-old-space-sizesize-in-megabytes
-- memory limit in megabytes or "auto"(basically no limit)
tsserver_max_memory = "auto",
-- described below
tsserver_format_options = function(_)
-- Return empty table to disable formatting
return {}
end,
tsserver_file_preferences = {
@ -27,8 +48,26 @@ return {
includeInlayFunctionLikeReturnTypeHints = true,
includeInlayEnumMemberValueHints = true,
},
-- locale of all tsserver messages, supported locales you can find here:
-- https://github.com/microsoft/TypeScript/blob/3c221fc086be52b19801f6e8d82596d04607ede6/src/compiler/utilitiesPublic.ts#L620
tsserver_locale = "en",
-- mirror of VSCode's `typescript.suggest.completeFunctionCalls`
complete_function_calls = true,
include_completions_with_insert_text = true,
-- CodeLens
-- WARNING: Experimental feature also in VSCode, because it might hit performance of server.
-- possible values: ("off"|"all"|"implementations_only"|"references_only")
code_lens = "all",
-- by default code lenses are displayed on all referencable values and for some of you it can
-- be too much this option reduce count of them by removing member references from lenses
disable_member_code_lens = true,
-- JSXCloseTag
-- WARNING: it is disabled by default (maybe you configuration or distro already uses nvim-ts-autotag,
-- that maybe have a conflict if enable this feature. )
jsx_close_tag = {
enable = false,
filetypes = { "javascriptreact", "typescriptreact" },
},
},
},
},

View File

@ -31,6 +31,7 @@ return {
desc = "substitute word",
},
{
{ "<leader>c", vim.cmd.bdelete, desc = "Close Buffer" },
{
"<leader>X",
function()
@ -43,7 +44,7 @@ return {
{ "<leader>q", group = "Persistence" },
{ "<leader>l", group = "LSP" },
{ "<leader>w", group = "Workspace" },
{ "<leader>p", group = "Picker" },
{ "<leader>f", group = "Picker", { "<leader>pd", group = "Development" } },
{ "<leader>z", group = "Zen" },
{ "<leader>o", group = "Action" },
{ "<leader>r", group = "Rust" },
@ -66,14 +67,84 @@ return {
{
"<leader>L",
group = "Languate settings",
{ "<leader>Lc", "<cmd>setlocal formatoptions-=cro<cr>", desc = "Disable autocomment" },
{ "<leader>LC", "<cmd>setlocal formatoptions=cro<cr>", desc = "Enable autocomment" },
{ "<leader>Ls", "<cmd>setlocal spell!<cr>", desc = "Toggle spellchecker" },
{ "<leader>Lc", "<cmd>setlocal formatoptions-=cro<cr>", desc = "Disable autocomment" },
{ "<leader>LC", "<cmd>setlocal formatoptions=cro<cr>", desc = "Enable autocomment" },
{ "<leader>Ls", "<cmd>setlocal spell!<cr>", desc = "Toggle spellchecker" },
{ "<leader>Le", "<cmd>setlocal spell spelllang=en_us<cr>", desc = "Enable English spellchecker" },
{ "<leader>Ll", "<cmd>setlocal spell spelllang=lv_LV<cr>", desc = "Enable Latvian spellchecker" },
{ "<leader>LI", "<cmd>setlocal autoindent<cr>", desc = "Enable autoindent" },
{ "<leader>Li", "<cmd>setlocal noautoindent<cr>", desc = "Disable autoindent" },
{ "<leader>LI", "<cmd>setlocal autoindent<cr>", desc = "Enable autoindent" },
{ "<leader>Li", "<cmd>setlocal noautoindent<cr>", desc = "Disable autoindent" },
},
--[[ {
"<leader>P",
group = "Templates",
{
{
"<leader>Pl",
group = "Latex",
cond = function()
return vim.bo.filetype == "lua"
end,
{
"<leader>Plp",
function()
vim.cmd.read("~/Templates/LaTeX/PhilPaper.tex")
end,
desc = "PhilPaper.tex",
},
{
"<leader>Pll",
function()
vim.cmd.read("~/Templates/LaTeX/Letter.tex")
end,
desc = "Letter.tex",
},
{
"<leader>Plg",
function()
vim.cmd.read("~/Templates/LaTeX/Glossary.tex")
end,
desc = "Glossary.tex",
},
{
"<leader>Plh",
function()
vim.cmd.read("~/Templates/LaTeX/HandOut.tex")
end,
desc = "HandOut.tex",
},
{
"<leader>Plb",
function()
vim.cmd.read("~/Templates/LaTeX/PhilBeamer.tex")
end,
desc = "PhilBeamer.tex",
},
{
"<leader>Pls",
function()
vim.cmd.read("~/Templates/LaTeX/SubFile.tex")
end,
desc = "SubFile.tex",
},
{
"<leader>Plr",
function()
vim.cmd.read("~/Templates/LaTeX/Root.tex")
end,
desc = "Root.tex",
},
{
"<leader>Plm",
function()
vim.cmd.read("~/Templates/LaTeX/MultipleAnswer.tex")
end,
desc = "MultipleAnswer.tex",
},
},
},
}, ]]
},
},
},

View File

@ -1,3 +1 @@
---@diagnostic disable: undefined-global
return {}

View File

@ -21,11 +21,12 @@ return {
[[
local function {}({})
{}
end
end{}
]],
{
i(1),
i(2),
i(3),
i(0),
}
)

View File

@ -13,9 +13,6 @@ return {
}
)
),
}, { -- autosnippets
s({ trig = "mt", name = "Math Block" }, fmta("$<>$", { i(1) })),
s({ trig = "mmt", name = "Multiline Math Block" }, fmta("$ <> $", { i(1) })),
s(
"ket0",
fmt(

View File

@ -88,4 +88,17 @@ return {
}
)
),
}, {}
}, {
s(
"__",
fmta(
[[
__<init>__<>
]],
{
init = i(1),
i(0),
}
)
),
}

View File

@ -218,7 +218,7 @@ local bevy_snippets = {
}
]],
{
name = i(1, "system"),
name = i(1, "sytem"),
args = i(2, "args"),
body = i(0),
}

View File

@ -629,4 +629,3 @@ iekavām
viennozīmīgu
iekavas
atbilsoši
visciešāk

Binary file not shown.