summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-10-23 22:15:41 +0300
committerKyren223 <ulmliad223@gmail.com>2024-10-23 22:15:41 +0300
commit8777957eb9f439edf6993c18d3b13000727996d0 (patch)
treeb0ede3874b173fd271057ddbc6c3ceba5982feb3 /.config/nvim
parent90a80517aa6549e9a764843575a2cf69141199ac (diff)
feat: added scrollbar with markers for diagnostics
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/lazy-lock.json1
-rw-r--r--.config/nvim/lua/custom/plugins/nvim-scrollbar.lua29
2 files changed, 30 insertions, 0 deletions
diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json
index e1df82f..334cb55 100644
--- a/.config/nvim/lazy-lock.json
+++ b/.config/nvim/lazy-lock.json
@@ -43,6 +43,7 @@
"nvim-lspconfig": { "branch": "master", "commit": "d141895d1d9f41048fff201d62a2d6e96d299e32" },
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
"nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" },
+ "nvim-scrollbar": { "branch": "main", "commit": "6994eb9f73d5fdc36ee2c8717940e8c853e51a49" },
"nvim-spectre": { "branch": "master", "commit": "ba7fb777edff6c1fbbeffd343e113af64c04e90a" },
"nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },
"nvim-treesitter": { "branch": "master", "commit": "5a2ff8b7ca5470b1011ed82ef3fdd53139ffc467" },
diff --git a/.config/nvim/lua/custom/plugins/nvim-scrollbar.lua b/.config/nvim/lua/custom/plugins/nvim-scrollbar.lua
new file mode 100644
index 0000000..f475ac7
--- /dev/null
+++ b/.config/nvim/lua/custom/plugins/nvim-scrollbar.lua
@@ -0,0 +1,29 @@
+return {
+ 'petertriho/nvim-scrollbar',
+ event = 'VeryLazy',
+ opts = {
+ marks = {
+ Search = {
+ text = { '', '' },
+ },
+ Error = {
+ text = { '', '' },
+ },
+ Warn = {
+ text = { '', '' },
+ },
+ Info = {
+ text = { '', '' },
+ },
+ Hint = {
+ text = { '', '' },
+ },
+ Misc = {
+ text = { '', '' },
+ },
+ },
+ handlers = {
+ cursor = false,
+ },
+ },
+}