FIX THE STUPID 'NO INFORMATION NOTIFICATION'
This commit is contained in:
parent
588f612b72
commit
043a9a87b8
7 changed files with 384 additions and 64 deletions
316
lazy-lock.json
316
lazy-lock.json
|
@ -1,65 +1,255 @@
|
||||||
{
|
{
|
||||||
"LazyVim": { "branch": "main", "commit": "5646ee5191da244ff8ea57b9dba8a7e0d1dbdd42" },
|
"LazyVim": {
|
||||||
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
|
"branch": "main",
|
||||||
"SchemaStore.nvim": { "branch": "main", "commit": "f7cae6f1b38cb296f48ce1a9c5ed1a419d912a42" },
|
"commit": "5646ee5191da244ff8ea57b9dba8a7e0d1dbdd42"
|
||||||
"bufferline.nvim": { "branch": "main", "commit": "64e2c5def50dfd6b6f14d96a45fa3d815a4a1eef" },
|
},
|
||||||
"catppuccin": { "branch": "main", "commit": "a1439ad7c584efb3d0ce14ccb835967f030450fe" },
|
"LuaSnip": {
|
||||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
"branch": "master",
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
|
"commit": "03c8e67eb7293c404845b3982db895d59c0d1538"
|
||||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
},
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
"SchemaStore.nvim": {
|
||||||
"conform.nvim": { "branch": "master", "commit": "a6965ac128eba75537ec2bc5ddd5d5e357062bdc" },
|
"branch": "main",
|
||||||
"copilot-cmp": { "branch": "master", "commit": "72fbaa03695779f8349be3ac54fa8bd77eed3ee3" },
|
"commit": "f7cae6f1b38cb296f48ce1a9c5ed1a419d912a42"
|
||||||
"copilot.lua": { "branch": "master", "commit": "f7612f5af4a7d7615babf43ab1e67a2d790c13a6" },
|
},
|
||||||
"crates.nvim": { "branch": "main", "commit": "786d12a70c9b91fa2d0d102bb07df02be0db31a1" },
|
"bufferline.nvim": {
|
||||||
"dashboard-nvim": { "branch": "master", "commit": "6d06924b562de6f0bb136edf1bf549afbf6b7d00" },
|
"branch": "main",
|
||||||
"dressing.nvim": { "branch": "master", "commit": "18e5beb3845f085b6a33c24112b37988f3f93c06" },
|
"commit": "f6f00d9ac1a51483ac78418f9e63126119a70709"
|
||||||
"flash.nvim": { "branch": "main", "commit": "48817af25f51c0590653bbc290866e4890fe1cbe" },
|
},
|
||||||
"friendly-snippets": { "branch": "main", "commit": "ea068f1becd91bcd4591fceb6420d4335e2e14d3" },
|
"catppuccin": {
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "7e38f07cab0e5387f9f41e92474db174a63a4725" },
|
"branch": "main",
|
||||||
"headlines.nvim": { "branch": "master", "commit": "618ef1b2502c565c82254ef7d5b04402194d9ce3" },
|
"commit": "a1439ad7c584efb3d0ce14ccb835967f030450fe"
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "3d08501caef2329aba5121b753e903904088f7e6" },
|
},
|
||||||
"lazy.nvim": { "branch": "main", "commit": "bef521ac89c8d423f9d092e37b58e8af0c099309" },
|
"cmp-buffer": {
|
||||||
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
|
"branch": "main",
|
||||||
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
|
"commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa"
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "44509689b9bf3984d729cc264aacb31cb7f41668" },
|
},
|
||||||
"mason.nvim": { "branch": "main", "commit": "751b1fcbf3d3b783fcf8d48865264a9bcd8f9b10" },
|
"cmp-nvim-lsp": {
|
||||||
"mini.ai": { "branch": "main", "commit": "ee9446a17c160aba6a04ff22097389c41872c878" },
|
"branch": "main",
|
||||||
"mini.animate": { "branch": "main", "commit": "82519630b2760ffc516ebc387bef632f9c07b9f5" },
|
"commit": "5af77f54de1b16c34b23cba810150689a3a90312"
|
||||||
"mini.bufremove": { "branch": "main", "commit": "931a3bb514147d9e812767275c4beba6b779b1d3" },
|
},
|
||||||
"mini.comment": { "branch": "main", "commit": "f9f1a646fd3d9df7397aa1b9550a875fe8189eb0" },
|
"cmp-path": {
|
||||||
"mini.indentscope": { "branch": "main", "commit": "a8274b6ea2d868198d27bd91a31ed5ea3a6a5744" },
|
"branch": "main",
|
||||||
"mini.pairs": { "branch": "main", "commit": "04f58f2545ed80ac3b52dd4826e93f33e15b2af6" },
|
"commit": "91ff86cd9c29299a64f968ebb45846c485725f23"
|
||||||
"mini.surround": { "branch": "main", "commit": "d035934958e2605048ee1378ce47cf799f7071d4" },
|
},
|
||||||
"neo-tree.nvim": { "branch": "v3.x", "commit": "7aad1bf3f6b849cbf108e02c55ad4d701cb4d33a" },
|
"cmp_luasnip": {
|
||||||
"neoconf.nvim": { "branch": "main", "commit": "a7da418753379af428f5d26ac91aa6fc18baf86e" },
|
"branch": "master",
|
||||||
"neodev.nvim": { "branch": "main", "commit": "ce9a2e8eaba5649b553529c5498acb43a6c317cd" },
|
"commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843"
|
||||||
"noice.nvim": { "branch": "main", "commit": "0cbe3f88d038320bdbda3c4c5c95f43a13c3aa12" },
|
},
|
||||||
"nui.nvim": { "branch": "main", "commit": "cbd2668414331c10039278f558630ed19b93e69b" },
|
"conform.nvim": {
|
||||||
"nvim-cmp": { "branch": "main", "commit": "ce16de5665c766f39c271705b17fff06f7bcb84f" },
|
"branch": "master",
|
||||||
"nvim-lint": { "branch": "master", "commit": "f098232d70cebe90e27404928c9bc19ca7a5a7b5" },
|
"commit": "a6965ac128eba75537ec2bc5ddd5d5e357062bdc"
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "ed8b8a15acc441aec669f97d75f2c1f2ac8c8aa5" },
|
},
|
||||||
"nvim-notify": { "branch": "master", "commit": "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15" },
|
"copilot-cmp": {
|
||||||
"nvim-spectre": { "branch": "master", "commit": "9653847cf2f225648967f6e9363643e327387579" },
|
"branch": "master",
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "fea5808a58dc00b7131163886fe2648bbcae9dff" },
|
"commit": "72fbaa03695779f8349be3ac54fa8bd77eed3ee3"
|
||||||
"nvim-treesitter-context": { "branch": "master", "commit": "e6e71047bb323fb36f5664993a42adaac252bb36" },
|
},
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "23b820146956b3b681c19e10d3a8bc0cbd9a1d4c" },
|
"copilot.lua": {
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "531f48334c422222aebc888fd36e7d109cb354cd" },
|
"branch": "master",
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "a6382f744f584bbf71d0a563af789af7190aabda" },
|
"commit": "f7612f5af4a7d7615babf43ab1e67a2d790c13a6"
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "b3468391470034353f0e5110c70babb5c62967d3" },
|
},
|
||||||
"persistence.nvim": { "branch": "main", "commit": "4982499c1636eac254b72923ab826ee7827b3084" },
|
"crates.nvim": {
|
||||||
"plenary.nvim": { "branch": "master", "commit": "8aad4396840be7fc42896e3011751b7609ca4119" },
|
"branch": "main",
|
||||||
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
|
"commit": "786d12a70c9b91fa2d0d102bb07df02be0db31a1"
|
||||||
"rustaceanvim": { "branch": "master", "commit": "efccc7d7c42e0849a6c85bfd6a8d746729cf08b5" },
|
},
|
||||||
"tailwind-fold.nvim": { "branch": "main", "commit": "4335dd915073fe3da43a85b06742d12626603973" },
|
"dashboard-nvim": {
|
||||||
"tailwindcss-colorizer-cmp.nvim": { "branch": "main", "commit": "3d3cd95e4a4135c250faf83dd5ed61b8e5502b86" },
|
"branch": "master",
|
||||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" },
|
"commit": "6d06924b562de6f0bb136edf1bf549afbf6b7d00"
|
||||||
"telescope.nvim": { "branch": "master", "commit": "d00d9df48c00d8682c14c2b5da78bda7ef06b939" },
|
},
|
||||||
"todo-comments.nvim": { "branch": "main", "commit": "a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d" },
|
"dressing.nvim": {
|
||||||
"tokyonight.nvim": { "branch": "main", "commit": "9bf9ec53d5e87b025e2404069b71e7ebdc3a13e5" },
|
"branch": "master",
|
||||||
"trouble.nvim": { "branch": "dev", "commit": "10eff94809ecd6ee6cc59f42e9521b9b8a14e9ce" },
|
"commit": "18e5beb3845f085b6a33c24112b37988f3f93c06"
|
||||||
"vim-illuminate": { "branch": "master", "commit": "e522e0dd742a83506db0a72e1ced68c9c130f185" },
|
},
|
||||||
"vim-startuptime": { "branch": "master", "commit": "ac2cccb5be617672add1f4f3c0a55ce99ba34e01" },
|
"flash.nvim": {
|
||||||
"vimtex": { "branch": "master", "commit": "4a0ea3fc7eb67fd1949aba6a9bbd91cb5c875743" },
|
"branch": "main",
|
||||||
"which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" }
|
"commit": "48817af25f51c0590653bbc290866e4890fe1cbe"
|
||||||
|
},
|
||||||
|
"friendly-snippets": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "ea068f1becd91bcd4591fceb6420d4335e2e14d3"
|
||||||
|
},
|
||||||
|
"gitsigns.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "7e38f07cab0e5387f9f41e92474db174a63a4725"
|
||||||
|
},
|
||||||
|
"headlines.nvim": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "618ef1b2502c565c82254ef7d5b04402194d9ce3"
|
||||||
|
},
|
||||||
|
"indent-blankline.nvim": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "3d08501caef2329aba5121b753e903904088f7e6"
|
||||||
|
},
|
||||||
|
"lazy.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "bef521ac89c8d423f9d092e37b58e8af0c099309"
|
||||||
|
},
|
||||||
|
"lualine.nvim": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "0a5a66803c7407767b799067986b4dc3036e1983"
|
||||||
|
},
|
||||||
|
"markdown-preview.nvim": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee"
|
||||||
|
},
|
||||||
|
"mason-lspconfig.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "44509689b9bf3984d729cc264aacb31cb7f41668"
|
||||||
|
},
|
||||||
|
"mason.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "751b1fcbf3d3b783fcf8d48865264a9bcd8f9b10"
|
||||||
|
},
|
||||||
|
"mini.ai": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "ee9446a17c160aba6a04ff22097389c41872c878"
|
||||||
|
},
|
||||||
|
"mini.animate": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "82519630b2760ffc516ebc387bef632f9c07b9f5"
|
||||||
|
},
|
||||||
|
"mini.bufremove": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "931a3bb514147d9e812767275c4beba6b779b1d3"
|
||||||
|
},
|
||||||
|
"mini.comment": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "f9f1a646fd3d9df7397aa1b9550a875fe8189eb0"
|
||||||
|
},
|
||||||
|
"mini.indentscope": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "a8274b6ea2d868198d27bd91a31ed5ea3a6a5744"
|
||||||
|
},
|
||||||
|
"mini.pairs": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "04f58f2545ed80ac3b52dd4826e93f33e15b2af6"
|
||||||
|
},
|
||||||
|
"mini.surround": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "d035934958e2605048ee1378ce47cf799f7071d4"
|
||||||
|
},
|
||||||
|
"neo-tree.nvim": {
|
||||||
|
"branch": "v3.x",
|
||||||
|
"commit": "7aad1bf3f6b849cbf108e02c55ad4d701cb4d33a"
|
||||||
|
},
|
||||||
|
"neoconf.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "a7da418753379af428f5d26ac91aa6fc18baf86e"
|
||||||
|
},
|
||||||
|
"neodev.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "ce9a2e8eaba5649b553529c5498acb43a6c317cd"
|
||||||
|
},
|
||||||
|
"noice.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "0cbe3f88d038320bdbda3c4c5c95f43a13c3aa12"
|
||||||
|
},
|
||||||
|
"nui.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "cbd2668414331c10039278f558630ed19b93e69b"
|
||||||
|
},
|
||||||
|
"nvim-cmp": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "ce16de5665c766f39c271705b17fff06f7bcb84f"
|
||||||
|
},
|
||||||
|
"nvim-lint": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "f098232d70cebe90e27404928c9bc19ca7a5a7b5"
|
||||||
|
},
|
||||||
|
"nvim-lspconfig": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "ed8b8a15acc441aec669f97d75f2c1f2ac8c8aa5"
|
||||||
|
},
|
||||||
|
"nvim-notify": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15"
|
||||||
|
},
|
||||||
|
"nvim-spectre": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "9653847cf2f225648967f6e9363643e327387579"
|
||||||
|
},
|
||||||
|
"nvim-treesitter": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "bc808622986b0ba8eb64780b94d30cdfbd7c6a9f"
|
||||||
|
},
|
||||||
|
"nvim-treesitter-context": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "ba4289ad345ececd335a9cdd7b9616fd0bb6be92"
|
||||||
|
},
|
||||||
|
"nvim-treesitter-textobjects": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "23b820146956b3b681c19e10d3a8bc0cbd9a1d4c"
|
||||||
|
},
|
||||||
|
"nvim-ts-autotag": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "531f48334c422222aebc888fd36e7d109cb354cd"
|
||||||
|
},
|
||||||
|
"nvim-ts-context-commentstring": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "a6382f744f584bbf71d0a563af789af7190aabda"
|
||||||
|
},
|
||||||
|
"nvim-web-devicons": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "b3468391470034353f0e5110c70babb5c62967d3"
|
||||||
|
},
|
||||||
|
"persistence.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "4982499c1636eac254b72923ab826ee7827b3084"
|
||||||
|
},
|
||||||
|
"plenary.nvim": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "8aad4396840be7fc42896e3011751b7609ca4119"
|
||||||
|
},
|
||||||
|
"presence.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "87c857a56b7703f976d3a5ef15967d80508df6e6"
|
||||||
|
},
|
||||||
|
"rustaceanvim": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "2a53e2fe911e971fa90341af27d2fe1447c0cbd2"
|
||||||
|
},
|
||||||
|
"tailwind-fold.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "4335dd915073fe3da43a85b06742d12626603973"
|
||||||
|
},
|
||||||
|
"tailwindcss-colorizer-cmp.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "3d3cd95e4a4135c250faf83dd5ed61b8e5502b86"
|
||||||
|
},
|
||||||
|
"telescope-fzf-native.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27"
|
||||||
|
},
|
||||||
|
"telescope.nvim": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "d00d9df48c00d8682c14c2b5da78bda7ef06b939"
|
||||||
|
},
|
||||||
|
"todo-comments.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d"
|
||||||
|
},
|
||||||
|
"tokyonight.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "9bf9ec53d5e87b025e2404069b71e7ebdc3a13e5"
|
||||||
|
},
|
||||||
|
"trouble.nvim": {
|
||||||
|
"branch": "dev",
|
||||||
|
"commit": "10eff94809ecd6ee6cc59f42e9521b9b8a14e9ce"
|
||||||
|
},
|
||||||
|
"vim-illuminate": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "e522e0dd742a83506db0a72e1ced68c9c130f185"
|
||||||
|
},
|
||||||
|
"vim-startuptime": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "ac2cccb5be617672add1f4f3c0a55ce99ba34e01"
|
||||||
|
},
|
||||||
|
"vimtex": {
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "4a0ea3fc7eb67fd1949aba6a9bbd91cb5c875743"
|
||||||
|
},
|
||||||
|
"which-key.nvim": {
|
||||||
|
"branch": "main",
|
||||||
|
"commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
8
lua/plugins/copilot.lua
Normal file
8
lua/plugins/copilot.lua
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"zbirenbaum/copilot.lua",
|
||||||
|
opts = function(_, opts)
|
||||||
|
table.insert(opts.filetypes, { markdown = false })
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
14
lua/plugins/lint.lua
Normal file
14
lua/plugins/lint.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
-- defines linters and their configurations
|
||||||
|
|
||||||
|
-- return {
|
||||||
|
-- {
|
||||||
|
-- "mfussenegger/nvim-lint",
|
||||||
|
-- optional = true,
|
||||||
|
-- opts = {
|
||||||
|
-- linters_by_ft = {
|
||||||
|
-- markdown = { "markdownlint" },
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- }
|
||||||
|
return {}
|
36
lua/plugins/lsp.lua
Normal file
36
lua/plugins/lsp.lua
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
opts = {
|
||||||
|
servers = {
|
||||||
|
tailwindcss = {
|
||||||
|
-- exclude a filetype from the default_config
|
||||||
|
filetypes_exclude = { "markdown" },
|
||||||
|
-- add additional filetypes to the default_config
|
||||||
|
filetypes_include = {},
|
||||||
|
-- to fully override the default_config, change the below
|
||||||
|
-- filetypes = {}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
setup = {
|
||||||
|
tailwindcss = function(_, opts)
|
||||||
|
local tw = require("lspconfig.server_configurations.tailwindcss")
|
||||||
|
opts.filetypes = opts.filetypes or {}
|
||||||
|
|
||||||
|
-- Add default filetypes
|
||||||
|
vim.list_extend(opts.filetypes, tw.default_config.filetypes)
|
||||||
|
|
||||||
|
-- Remove excluded filetypes
|
||||||
|
--- @param ft string
|
||||||
|
opts.filetypes = vim.tbl_filter(function(ft)
|
||||||
|
return not vim.tbl_contains(opts.filetypes_exclude or {}, ft)
|
||||||
|
end, opts.filetypes)
|
||||||
|
|
||||||
|
-- Add additional filetypes
|
||||||
|
vim.list_extend(opts.filetypes, opts.filetypes_include or {})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{ "roobert/tailwindcss-colorizer-cmp.nvim", config = true },
|
||||||
|
}
|
11
lua/plugins/mason.lua
Normal file
11
lua/plugins/mason.lua
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
-- extends the mason configurations
|
||||||
|
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"williamboman/mason.nvim",
|
||||||
|
opts = function(_, opts)
|
||||||
|
opts.ensure_installed = opts.ensure_installed or {}
|
||||||
|
vim.list_extend(opts.ensure_installed, { "markdownlint", "marksman" })
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
10
lua/plugins/treesitter.lua
Normal file
10
lua/plugins/treesitter.lua
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
-- extends the treesitter configuration
|
||||||
|
|
||||||
|
return {
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
opts = function(_, opts)
|
||||||
|
if type(opts.ensure_installed) == "table" then
|
||||||
|
vim.list_extend(opts.ensure_installed, { "markdown", "markdown_inline" })
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
}
|
51
lua/plugins/ui.lua
Normal file
51
lua/plugins/ui.lua
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"folke/noice.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
opts = {
|
||||||
|
lsp = {
|
||||||
|
override = {
|
||||||
|
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||||
|
["vim.lsp.util.stylize_markdown"] = true,
|
||||||
|
["cmp.entry.get_documentation"] = true,
|
||||||
|
},
|
||||||
|
hover = {
|
||||||
|
enabled = true,
|
||||||
|
silent = true, -- set to true to not show a message if hover is not available
|
||||||
|
view = nil, -- when nil, use defaults from documentation
|
||||||
|
---@type NoiceViewOptions
|
||||||
|
opts = {}, -- merged with defaults from documentation
|
||||||
|
},
|
||||||
|
},
|
||||||
|
routes = {
|
||||||
|
{
|
||||||
|
filter = {
|
||||||
|
event = "msg_show",
|
||||||
|
any = {
|
||||||
|
{ find = "%d+L, %d+B" },
|
||||||
|
{ find = "; after #%d+" },
|
||||||
|
{ find = "; before #%d+" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
view = "mini",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
presets = {
|
||||||
|
bottom_search = true,
|
||||||
|
command_palette = true,
|
||||||
|
long_message_to_split = true,
|
||||||
|
inc_rename = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- stylua: ignore
|
||||||
|
keys = {
|
||||||
|
{ "<S-Enter>", function() require("noice").redirect(vim.fn.getcmdline()) end, mode = "c", desc = "Redirect Cmdline" },
|
||||||
|
{ "<leader>snl", function() require("noice").cmd("last") end, desc = "Noice Last Message" },
|
||||||
|
{ "<leader>snh", function() require("noice").cmd("history") end, desc = "Noice History" },
|
||||||
|
{ "<leader>sna", function() require("noice").cmd("all") end, desc = "Noice All" },
|
||||||
|
{ "<leader>snd", function() require("noice").cmd("dismiss") end, desc = "Dismiss All" },
|
||||||
|
{ "<c-f>", function() if not require("noice.lsp").scroll(4) then return "<c-f>" end end, silent = true, expr = true, desc = "Scroll Forward", mode = {"i", "n", "s"} },
|
||||||
|
{ "<c-b>", function() if not require("noice.lsp").scroll(-4) then return "<c-b>" end end, silent = true, expr = true, desc = "Scroll Backward", mode = {"i", "n", "s"}},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in a new issue