Compare commits

...

34 Commits

Author SHA1 Message Date
e144c2530e chore: update plugins 2025-09-09 17:29:31 +02:00
77a32b9eef feat(cvs): snacks gitbrowse for personal gitea 2025-09-09 17:29:31 +02:00
ae95eb1480 chore: clean wrong manuel setup for rust-analyzer 2025-07-02 16:33:55 +02:00
6f17872ae0 feat(fold): reset default options for fold
Allows using astroui's lsp and treesitter based fold methods
2025-07-02 16:32:56 +02:00
e35c69881a chore: update plugins 2025-07-01 22:58:35 +02:00
c0dc6540f0 feat(rust): dump dioxus 2025-07-01 22:58:22 +02:00
1f3fe12f13 fix(cmp): fix performance of cmd completion
remove path **
2025-06-14 19:13:56 +02:00
35b7a62a1e fix(ui): statusline padding and cmdline height 2025-06-14 19:13:48 +02:00
f66e518acc chore: update plugins 2025-06-14 19:08:42 +02:00
4335223c83 chore: cleanup 2025-06-14 19:08:32 +02:00
61a1a99700 chore: update plugins 2025-06-13 15:29:38 +02:00
e9a591d25d feat(lsp): don't kill dev-tools on timeout 2025-06-13 15:28:45 +02:00
40200b5e89 feat(lsp): added trouble-nvim 2025-05-31 11:39:17 +02:00
803bf6e106 feat(lsp): added inc-rename 2025-05-31 11:39:07 +02:00
01690eb95f feat(lsp): replace lspsaga with dev-tools 2025-05-31 11:38:32 +02:00
cacaba7987 feat(lsp): added garbage-day to clean unused LSPs 2025-05-31 11:25:01 +02:00
cbc6672152 feat(lsp): enable all astrolsp features by default
signature_help and inlay_hints
2025-05-31 11:24:14 +02:00
e7296d71a4 feat(rust): enable dioxus formatter for rust files 2025-05-25 23:29:32 +02:00
7d509c7ea9 chore: update plugins 2025-05-25 23:28:35 +02:00
7d41249b98 chore(update): update plugins 2025-05-13 00:13:34 +02:00
ecfdbdcd77 feat(nvim): better text wrapping 2025-05-13 00:13:05 +02:00
ea9f5df6c2 feat(css): added css and tailwind packs 2025-05-13 00:12:43 +02:00
04e50f3c4b chore(lock): update lock file 2025-03-28 10:46:24 +01:00
8224f496ac feat(astro): update to v5 2025-03-28 09:57:01 +01:00
5614dfaa28 feat(dap): enable on all platforms 2025-03-08 21:10:04 +01:00
4f81730b37 chore(lsp): remove custom header switch mapping 2025-03-08 21:09:45 +01:00
18e32b6c09 feat(number): disable number 2025-03-08 21:09:31 +01:00
cf26719d20 chore(clean): format 2025-03-08 20:23:54 +01:00
be462d58ea chore(plugins): update plugins 2025-03-08 20:22:15 +01:00
f02977f653 feat(diff): better diff settings 2025-03-08 20:21:21 +01:00
4655b2da81 feat(p4): perforce commands 2025-03-08 20:19:33 +01:00
d597afc5ee fix(lsp): enable qmlls... 2024-10-07 18:34:18 +02:00
4f14f477b7 chore(update): lazy-lock.json 2024-10-07 18:24:11 +02:00
afda9abeb1 feat(lsp): config for qmlls 2024-10-07 18:23:29 +02:00
13 changed files with 227 additions and 147 deletions

View File

@@ -1,79 +1,74 @@
{
"AstroNvim": { "branch": "main", "commit": "42219c51e30843591ae62e27047d2a628612b38f" },
"AstroNvim": { "branch": "main", "commit": "f9bce33cab08bd3c327f8a1619eba63c9b7262ae" },
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"aerial.nvim": { "branch": "master", "commit": "8d2a6c2ffad271b10c91f2c6f6ecef1f9625a9b9" },
"astrocommunity": { "branch": "main", "commit": "18978b14446256e68eae39b3c7770d15dfc025bd" },
"astrocore": { "branch": "main", "commit": "8a66da8b8d4dfd783703195a6448aad75837d947" },
"astrolsp": { "branch": "main", "commit": "e8290b739fa08c181a2149be5d94db0a91a42cd0" },
"astrotheme": { "branch": "main", "commit": "f817781461e58c2ab2ff5456ad06bca719019acb" },
"astroui": { "branch": "main", "commit": "0bc327c4a69f2e2b1a45449d5064d8e27e650d66" },
"better-escape.nvim": { "branch": "master", "commit": "d337e02b140d909345441392de47a42d283747c1" },
"clangd_extensions.nvim": { "branch": "main", "commit": "a8500531c4ed3a207e744a374ea038744a0f93eb" },
"cmake-tools.nvim": { "branch": "master", "commit": "4be3c229fe932043fd83ad52fdf0ba9af7297789" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"aerial.nvim": { "branch": "master", "commit": "6ab1a0ce4874d21610fc5a67a6c82c7b943c635b" },
"astrocommunity": { "branch": "main", "commit": "4e6feff7aa400cf5742c72d03cc238163ed20be6" },
"astrocore": { "branch": "main", "commit": "c797dd5a592e2bd154f2503e231b8a4083659534" },
"astrolsp": { "branch": "main", "commit": "414775e4b49a46bd7105cc5498ea7bb312359bf2" },
"astrotheme": { "branch": "main", "commit": "0a3fb361f1e3d6a0cbb42e93f3d01fb5203b6752" },
"astroui": { "branch": "main", "commit": "4943abbd42674b43249313afe83b91065a40e4be" },
"better-escape.nvim": { "branch": "master", "commit": "199dcc2643dec5d8dbdab4ec672cf405224dcb3b" },
"blink.cmp": { "branch": "main", "commit": "bae4bae0eedd1fa55f34b685862e94a222d5c6f8" },
"blink.compat": { "branch": "main", "commit": "2ed6d9a28b07fa6f3bface818470605f8896408c" },
"clangd_extensions.nvim": { "branch": "main", "commit": "b67cc417d9020fb4b83d46662351b4d16894905e" },
"cmake-tools.nvim": { "branch": "master", "commit": "88e07c6bff838a5bda2f461e9c1122b79ff0829f" },
"cmp-dap": { "branch": "master", "commit": "ea92773e84c0ad3288c3bc5e452ac91559669087" },
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"conform.nvim": { "branch": "master", "commit": "62eba813b7501b39612146cbf29cd07f1d4ac29c" },
"crates.nvim": { "branch": "main", "commit": "891063a2dc8471501b9742406a514be62a20c138" },
"conform.nvim": { "branch": "master", "commit": "b4aab989db276993ea5dcb78872be494ce546521" },
"crates.nvim": { "branch": "main", "commit": "ac9fa498a9edb96dc3056724ff69d5f40b898453" },
"dev-tools.nvim": { "branch": "main", "commit": "96cf12d605f4f2cee0a0b844f8df5d1e8b33db38" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"dressing.nvim": { "branch": "master", "commit": "c5775a888adbc50652cb370073fcfec963eca93e" },
"gitsigns.nvim": { "branch": "main", "commit": "562dc47189ad3c8696dbf460d38603a74d544849" },
"guess-indent.nvim": { "branch": "main", "commit": "6cd61f7a600bb756e558627cd2e740302c58e32d" },
"heirline.nvim": { "branch": "master", "commit": "0d797435e54645a5f98bad7ad6046aac1ef95c1e" },
"indent-blankline.nvim": { "branch": "master", "commit": "db926997af951da38e5004ec7b9fbdc480b48f5d" },
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
"lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" },
"lsp_signature.nvim": { "branch": "master", "commit": "a38da0a61c172bb59e34befc12efe48359884793" },
"lspkind.nvim": { "branch": "master", "commit": "cff4ae321a91ee3473a92ea1a8c637e3a9510aec" },
"lsplinks.nvim": { "branch": "master", "commit": "11d7a7177bc39d38a061df4a0ca0de8650853751" },
"lspsaga.nvim": { "branch": "main", "commit": "4ce44df854f447cf0a8972e5387b3aeb5efc798b" },
"luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "1c55991321d1a861537e32446affc5de5d9a6eaf" },
"mason-null-ls.nvim": { "branch": "main", "commit": "de19726de7260c68d94691afb057fa73d3cc53e7" },
"mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" },
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
"mini.bufremove": { "branch": "main", "commit": "1ee294a97e091d3cf967974df622c0d887890dc2" },
"neo-tree.nvim": { "branch": "main", "commit": "206241e451c12f78969ff5ae53af45616ffc9b72" },
"neoconf.nvim": { "branch": "main", "commit": "59b5aa97496b074ebee43b97cfd9beb57ea1a312" },
"neodev.nvim": { "branch": "main", "commit": "1f4ebcc10852518166ce165e57d425a4265a10d4" },
"neogit": { "branch": "master", "commit": "2b74a777b963dfdeeabfabf84d5ba611666adab4" },
"none-ls.nvim": { "branch": "main", "commit": "cfa65d86e21eeb60544d5e823f6db43941322a53" },
"nui.nvim": { "branch": "main", "commit": "61574ce6e60c815b0a0c4b5655b8486ba58089a1" },
"nvim-autopairs": { "branch": "master", "commit": "19606af7c039271d5aa96bceff101e7523af3136" },
"nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
"nvim-colorizer.lua": { "branch": "master", "commit": "194ec600488f7c7229668d0e80bd197f3a2b84ff" },
"nvim-dap": { "branch": "master", "commit": "281a2e4cd1e7a17cea7ecb1745d84a8ab1249925" },
"nvim-dap-repl-highlights": { "branch": "master", "commit": "a7512fc0a0de0c0be8d58983939856dda6f72451" },
"nvim-dap-ui": { "branch": "master", "commit": "a5606bc5958db86f8d92803bea7400ee26a8d7e4" },
"nvim-dap-virtual-text": { "branch": "master", "commit": "484995d573c0f0563f6a66ebdd6c67b649489615" },
"nvim-lspconfig": { "branch": "master", "commit": "20906fce8587c85266b26d0b35d1bc0df2d49d58" },
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
"nvim-spider": { "branch": "main", "commit": "7641ce03636633b986493fc6f52d5051cb1375ce" },
"nvim-treesitter": { "branch": "master", "commit": "0b8b78f9d08dc338a146eb4cd4bcbed8dd36a783" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "41e3abf6bfd9a9a681eb1f788bdeba91c9004b2b" },
"nvim-ts-autotag": { "branch": "main", "commit": "0cb76eea80e9c73b88880f0ca78fbd04c5bdcac7" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" },
"nvim-ufo": { "branch": "main", "commit": "7dcb8fea3e7b3ccdb50f2c3ae7c248cdf6fe1ae1" },
"nvim-web-devicons": { "branch": "master", "commit": "3722e3d1fb5fe1896a104eb489e8f8651260b520" },
"nvim-window-picker": { "branch": "main", "commit": "41cfaa428577c53552200a404ae9b3a0b5719706" },
"plenary.nvim": { "branch": "master", "commit": "ec289423a1693aeae6cd0d503bac2856af74edaa" },
"promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" },
"refactoring.nvim": { "branch": "master", "commit": "c406fc5fb4d7ba5fce7b668637075fad6e75e9f8" },
"resession.nvim": { "branch": "master", "commit": "c4d92a57b3936a2d6e1c087dbd6b670da2b1b082" },
"rustaceanvim": { "branch": "master", "commit": "7cba8e599deca98d4b44cac1bcbd720c62937d90" },
"smart-splits.nvim": { "branch": "master", "commit": "b518cfb5283a2da43fa9935e850ba9d77873453d" },
"telescope-dap.nvim": { "branch": "master", "commit": "8c88d9716c91eaef1cdea13cb9390d8ef447dbfe" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" },
"telescope.nvim": { "branch": "master", "commit": "5972437de807c3bc101565175da66a1aa4f8707a" },
"todo-comments.nvim": { "branch": "main", "commit": "8f45f353dc3649cb9b44cecda96827ea88128584" },
"toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" },
"garbage-day.nvim": { "branch": "main", "commit": "08c46d9d6c918207ee04983c3eb6a89753e960a4" },
"gitsigns.nvim": { "branch": "main", "commit": "7010000889bfb6c26065e0b0f7f1e6aa9163edd9" },
"guess-indent.nvim": { "branch": "main", "commit": "84a4987ff36798c2fc1169cbaff67960aed9776f" },
"heirline.nvim": { "branch": "master", "commit": "fae936abb5e0345b85c3a03ecf38525b0828b992" },
"inc-rename.nvim": { "branch": "main", "commit": "8ae25b35ae16ca4bd5de3d3c472eec3b574018d4" },
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
"lazydev.nvim": { "branch": "main", "commit": "f59bd14a852ca43db38e3662395354cb2a9b13e0" },
"lsplinks.nvim": { "branch": "master", "commit": "94d729170e95298ce86ba41ef66f8756f6062b34" },
"luarocks.nvim": { "branch": "main", "commit": "1db9093915eb16ba2473cfb8d343ace5ee04130a" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
"mason-null-ls.nvim": { "branch": "main", "commit": "2b8433f76598397fcc97318d410e0c4f7a4bea6a" },
"mason-nvim-dap.nvim": { "branch": "main", "commit": "4c2cdc69d69fe00c15ae8648f7e954d99e5de3ea" },
"mason-tool-installer.nvim": { "branch": "main", "commit": "517ef5994ef9d6b738322664d5fdd948f0fdeb46" },
"mason.nvim": { "branch": "main", "commit": "197f6352c276bbc2d25541dfce00ec50d1a4e88f" },
"mini.icons": { "branch": "main", "commit": "397ed3807e96b59709ef3292f0a3e253d5c1dc0a" },
"neo-tree.nvim": { "branch": "main", "commit": "f1deac7ecec88c28a250d890ba7bb35843e69cbd" },
"neoconf.nvim": { "branch": "main", "commit": "907a1fe4e346aab2989af6848d7d697098506c5e" },
"neogit": { "branch": "master", "commit": "6617978288d58eb121754b5dd890e893d9a7e8d6" },
"none-ls.nvim": { "branch": "main", "commit": "db2a48b79cfcdab8baa5d3f37f21c78b6705c62e" },
"nui.nvim": { "branch": "main", "commit": "f535005e6ad1016383f24e39559833759453564e" },
"nvim-autopairs": { "branch": "master", "commit": "23320e75953ac82e559c610bec5a90d9c6dfa743" },
"nvim-dap": { "branch": "master", "commit": "14fe46ae16eb272629144a93f7738f5279665a4f" },
"nvim-dap-repl-highlights": { "branch": "master", "commit": "4f4cdb9ccd567512fd4f602e411b8f7ab5f69002" },
"nvim-dap-ui": { "branch": "master", "commit": "73a26abf4941aa27da59820fd6b028ebcdbcf932" },
"nvim-dap-virtual-text": { "branch": "master", "commit": "fbdb48c2ed45f4a8293d0d483f7730d24467ccb6" },
"nvim-highlight-colors": { "branch": "main", "commit": "b42a5ccec7457b44e89f7ed3b3afb1b375bb2093" },
"nvim-lspconfig": { "branch": "master", "commit": "fa2662510d30b06168b6e2e6915518decde6bbac" },
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
"nvim-spider": { "branch": "main", "commit": "220efa63c20830a9bf0593a57366b96dd5790212" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "89ebe73cd2836db80a22d9748999ace0241917a5" },
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" },
"nvim-ufo": { "branch": "main", "commit": "a52c92c3bbaa10f0c9b547a50adaa8c7d8b29f94" },
"nvim-window-picker": { "branch": "main", "commit": "6382540b2ae5de6c793d4aa2e3fe6dbb518505ec" },
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
"refactoring.nvim": { "branch": "master", "commit": "74b608dfee827c2372250519d433cc21cb083407" },
"resession.nvim": { "branch": "master", "commit": "cc819b0489938d03e4f3532a583354f0287c015b" },
"rustaceanvim": { "branch": "master", "commit": "12504405821c05874d2d1f6b5ec919f9808e2c99" },
"schemastore.nvim": { "branch": "main", "commit": "05924b7383fa17f13f7a7e7ecc8ce83b3c340ce2" },
"smart-splits.nvim": { "branch": "master", "commit": "ddb23c1a1cf1507bda487cda7f6e4690965ef9f5" },
"snacks.nvim": { "branch": "main", "commit": "5eac729fa290248acfe10916d92a5ed5e5c0f9ed" },
"telescope-dap.nvim": { "branch": "master", "commit": "783366bd6c1e7fa0a5c59c07db37f49c805a28df" },
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
"toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
"trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" },
"vim-abolish": { "branch": "master", "commit": "dcbfe065297d31823561ba787f51056c147aa682" },
"vim-easy-align": { "branch": "master", "commit": "9815a55dbcd817784458df7a18acacc6f82b1241" },
"vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" },
"vim-illuminate": { "branch": "master", "commit": "0d1e93684da00ab7c057410fecfc24f434698898" },
"vim-sandwich": { "branch": "master", "commit": "74cf93d58ccc567d8e2310a69860f1b93af19403" },
"vim-slint": { "branch": "main", "commit": "9badce3860297562bb5e80ba1666628f9e0ac632" },
"vimwiki": { "branch": "dev", "commit": "705ad1e0dded0e3b7ff5fac78547ab67c9d39bdf" },
"which-key.nvim": { "branch": "main", "commit": "6c1584eb76b55629702716995cca4ae2798a9cca" }
"vimwiki": { "branch": "dev", "commit": "72792615e739d0eb54a9c8f7e0a46a6e2407c9e8" },
"which-key.nvim": { "branch": "main", "commit": "fcbf4eea17cb299c02557d576f0d568878e354a4" }
}

View File

@@ -1,12 +1,11 @@
require("lazy").setup({
spec = {
{
"AstroNvim/AstroNvim",
-- version = "^4",
version = "^5",
import = "astronvim.plugins",
},
{ import = "plugins" },
},
} --[[@as LazySpec]], {
install = { colorscheme = { "astrodark", "habamax" } },
performance = {
rtp = {

View File

@@ -1,13 +1,2 @@
---@type LazySpec
return {
{ "goolord/alpha-nvim", enabled = false },
-- Which-key
-- {
-- "folke/which-key.nvim",
-- opts = {
-- plugins = {
-- registers = false,
-- },
-- },
-- }
}
return {}

View File

@@ -7,31 +7,37 @@ return {
-- Language packs
{ enabled = true, import = "astrocommunity.pack.cpp" },
{ enabled = true, import = "astrocommunity.pack.json" },
{ enabled = true, import = "astrocommunity.pack.lua" },
{ enabled = true, import = "astrocommunity.pack.markdown" },
{ enabled = true, import = "astrocommunity.pack.rust" },
{ enabled = home, import = "astrocommunity.pack.bash" },
{ enabled = home, import = "astrocommunity.pack.rust" },
{ enabled = home, import = "astrocommunity.pack.html-css" },
{ enabled = home, import = "astrocommunity.pack.just" },
{ enabled = home, import = "astrocommunity.pack.tailwindcss" },
{ enabled = work, import = "astrocommunity.pack.cs" },
{ enabled = work, import = "astrocommunity.pack.ps1" },
{ enabled = false, import = "astrocommunity.pack.html-css" },
{ enabled = false, import = "astrocommunity.pack.java" },
{ enabled = false, import = "astrocommunity.pack.proto" },
{ enabled = false, import = "astrocommunity.pack.wgsl" }, -- WebGLShaderLanguage
-- DAP
{ enabled = home, import = "astrocommunity.debugging.telescope-dap-nvim" },
{ enabled = home, import = "astrocommunity.debugging.nvim-dap-virtual-text" },
{ enabled = home, import = "astrocommunity.debugging.nvim-dap-repl-highlights" },
{ enabled = true, import = "astrocommunity.debugging.telescope-dap-nvim" },
{ enabled = true, import = "astrocommunity.debugging.nvim-dap-virtual-text" },
{ enabled = true, import = "astrocommunity.debugging.nvim-dap-repl-highlights" },
-- Motions
{ import = "astrocommunity.syntax.vim-sandwich" }, -- Surround
{ import = "astrocommunity.motion.nvim-spider" }, -- Move in subwords
-- Lsp
{ import = "astrocommunity.lsp.lsp-signature-nvim" }, -- Support for lsp signatureHelp
{ import = "astrocommunity.diagnostics.trouble-nvim" }, -- Diagnostics navigation
{ import = "astrocommunity.lsp.dev-tools-nvim" }, -- Nicer menus
{ import = "astrocommunity.lsp.garbage-day-nvim" }, -- Kill unused LSP servers
{ import = "astrocommunity.lsp.inc-rename-nvim" }, -- Visual renaming of lsp symbols
{ import = "astrocommunity.lsp.lsplinks-nvim" }, -- Support for document links (needed?)
{ import = "astrocommunity.lsp.lspsaga-nvim" }, -- Nicer menus for LSP
-- CVS
{ import = "astrocommunity.git.diffview-nvim" }, -- Diff
{ import = "astrocommunity.git.neogit" }, -- Git

View File

@@ -3,27 +3,55 @@ return {
"AstroNvim/astrocore",
---@type AstroCoreOpts
opts = {
features = {
large_buf = { size = 1024 * 256, lines = 10000 },
autopairs = true,
cmp = true,
diagnostics = { virtual_text = false, virtual_lines = true },
highlighturl = true,
notifications = true,
},
options = {
opt = {
clipboard = "",
cmdheight = 1,
cmdheight = 0,
diffopt = {
-- default
"internal",
"closeoff",
"filler",
-- end default
"iwhite",
"algorithm:histogram",
"indent-heuristic",
"linematch:60",
},
expandtab = true,
foldmethod = "syntax",
foldnestmax = 150,
grepprg = vim.fn.executable("rg") and "rg --vimgrep" or nil,
guifont = { "VictorMono Nerd Font", "Hack Nerd Font Mono", ":h10" },
listchars = { tab = "> ", extends = ">", precedes = "<", space = "·" },
number = true,
path = vim.list_extend(vim.opt.path:get(), { "**" }),
guifont = {
"VictorMono Nerd Font",
"Hack Nerd Font Mono",
":h10",
},
listchars = {
tab = "> ",
extends = ">",
precedes = "<",
space = "·",
},
linebreak = true,
breakat = " (),;{}[]",
showbreak = "",
number = false,
pumblend = 0,
relativenumber = false,
shiftwidth = 4,
signcolumn = "auto",
spell = false,
tabstop = 4,
textwidth = 120,
wrap = true,
textwidth = 100,
winblend = 0,
pumblend = 0,
wrap = true,
},
g = {
neovide_hide_mouse_when_typing = true,

View File

@@ -5,7 +5,10 @@ return {
opts = {
mappings = {
n = {
["<Leader>e"] = { "<Cmd>Neotree toggle reveal reveal_force_cwd<CR>", desc = "Toggle Explorer" },
["<Leader>e"] = {
"<Cmd>Neotree toggle reveal reveal_force_cwd<CR>",
desc = "Toggle Explorer",
},
},
t = {
["<Esc>"] = [[<C-\><C-n>]],

View File

@@ -4,12 +4,25 @@ return {
---@type AstroCoreOpts
opts = {
commands = {
TermOpen = {
function()
vim.bo.number = false
vim.bo.spell = false
end,
desc = "Remove linenumber in term buffers",
CopyFilename = {
'let @+=expand("%:p")',
desc = "Copy filename to clipboard",
},
P4Edit = {
"!p4 edit %:p",
desc = "Edit in perforce",
},
P4History = {
"!p4vc history %:p",
desc = "Perforce history",
},
P4Timelapse = {
"!p4vc tlv %:p",
desc = "Perfoce timelapse view",
},
P4RevisionGraph = {
"!p4vc revisiongraph %:p",
desc = "Perforce revision graph",
},
},
},

View File

@@ -1,17 +1,10 @@
---@type LazySpec
return {
{
"AstroNvim/astrolsp",
optional = true,
---@type AstroLSPOpts
opts = {
mappings = {
n = {
gh = {
function() require("clangd_extensions.switch_source_header").switch_source_header() end,
desc = "Switch to matching source or header file",
cond = "textDocument/switchSourceHeader",
},
},
},
---@diagnostic disable: missing-fields
config = {
clangd = {
@@ -25,6 +18,32 @@ return {
slint_lsp = {
root_dir = function() end, -- Fix missing root_dir issue in neoconf (lspconfig doesn't define it...)
},
qmlls = {
cmd = { "qmlls6" },
},
},
servers = {
"qmlls",
},
features = {
signature_help = true,
inlay_hints = true,
codelens = true,
semantic_tokens = true,
},
},
},
{
"zeioth/garbage-day.nvim",
optional = true,
opts = {
excluded_lsp_clients = {
"null-ls",
"jdtls",
"marksman",
"lua_ls",
"dev-tools",
},
},
},
}

12
lua/plugins/21-format.lua Normal file
View File

@@ -0,0 +1,12 @@
---@type LazySpec
return {
"stevearc/conform.nvim",
optional = true,
---@module "conform"
---@type conform.setupOpts
opts = {
formatters_by_ft = {
rust = { "leptosfmt", lsp_format = "first" },
},
},
}

View File

@@ -1,13 +1,23 @@
---@type LazySpec
return {
--[[
{
"lewis6991/gitsigns.nvim",
"folke/snacks.nvim",
optional = true,
--@type snacks.Config
opts = {
signcolumn = false,
numhl = true,
current_line_blame_opts = { ignore_whitespace = true },
gitbrowse = {
remote_patterns = {
{ "^gitea@(.+):(.+)$", "https://%1/%2" },
},
url_patterns = {
["git.niverton.ovh"] = {
branch = "/src/branch/{branch}",
file = "/src/branch/{branch}/{file}#L{line_start}-L{line_end}",
permalink = "/src/commit/{commit}/{file}#L{line_start}-L{line_end}",
commit = "/commit/{commit}",
},
},
},
},
},
]]
}

View File

@@ -21,7 +21,9 @@ return {
opts.statusline = {
hl = "statusline",
comp.mode({ mode_text = { hl = { bold = true }, padding = { left = 1, right = 1 } } }),
comp.mode({
mode_text = { hl = { bold = true }, padding = { left = 1, right = 1 } },
}),
comp.file_info({
filetype = false,
filename = {
@@ -37,7 +39,7 @@ return {
comp.treesitter({ padding = { right = 1 } }), -- Extra space to separate from next component
comp.git_diff(),
comp.git_branch(),
comp.nav({ scrollbar = false }),
comp.nav({ scrollbar = false, padding = { right = 1 } }),
}
local get_file_path = status.provider.filename({
@@ -53,11 +55,15 @@ return {
end
opts.winbar = {
init = function(self) self.bufnr = vim.api.nvim_get_current_buf() end,
init = function(self)
self.bufnr = vim.api.nvim_get_current_buf()
end,
fallthrough = false,
{
-- Display file path when window is not active
condition = function() return not status.condition.is_active() end,
condition = function()
return not status.condition.is_active()
end,
{
-- Set display priority to hide when component is too big to fit
flexible = 1,

View File

@@ -1,6 +1,6 @@
---@type LazySpec
return {
-- { "echasnovski/mini.align", event = "User AstroFile" },
{ "tpope/vim-abolish", event = "User AstroFile" },
{ "slint-ui/vim-slint", ft = "slint" },
-- { "stevearc/profile.nvim", lazy = false }, -- Profiling lua
}

View File

@@ -1,8 +1,8 @@
column_width = 120
column_width = 100
line_endings = "Unix"
indent_type = "Spaces"
call_parentheses = "Always"
collapse_simple_statement = "Always"
collapse_simple_statement = "Never"
[sort_requires]
enabled = true