diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-03-23 19:58:43 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-03-23 19:58:57 +0100 |
| commit | 5d3f2a47e06edf9b9c4eac9b0b0c89b36c2106b7 (patch) | |
| tree | 20fb8bb4b3e40335cb59d0d009d3e0fc817a7e63 /lua/plugins | |
| parent | d8942222459295402b6a1d59c05760eb805ef83a (diff) | |
| download | nvim-conf-5d3f2a47e06edf9b9c4eac9b0b0c89b36c2106b7.tar.gz nvim-conf-5d3f2a47e06edf9b9c4eac9b0b0c89b36c2106b7.zip | |
add colorize
Diffstat (limited to 'lua/plugins')
| -rw-r--r-- | lua/plugins/colorize.lua | 5 | ||||
| -rw-r--r-- | lua/plugins/smooth-cursor.lua | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lua/plugins/colorize.lua b/lua/plugins/colorize.lua new file mode 100644 index 0000000..89d4039 --- /dev/null +++ b/lua/plugins/colorize.lua @@ -0,0 +1,5 @@ +return { + "norcalli/nvim-colorizer.lua", + event = "VeryLazy", + config = true, +} diff --git a/lua/plugins/smooth-cursor.lua b/lua/plugins/smooth-cursor.lua index 0deb2b5..d855e1c 100644 --- a/lua/plugins/smooth-cursor.lua +++ b/lua/plugins/smooth-cursor.lua @@ -19,7 +19,7 @@ return { elseif current_mode == "V" then vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#bf616a" }) vim.fn.sign_define("smoothcursor", { text = "" }) - elseif current_mode == "�" then + elseif current_mode == "\22" then vim.api.nvim_set_hl(0, "SmoothCursor", { fg = "#bf616a" }) vim.fn.sign_define("smoothcursor", { text = "" }) elseif current_mode == "i" then |