chore(nvim): ts-rainbow-2 & binds remap

This commit is contained in:
winston 2023-02-25 03:46:10 +01:00
parent dd8ab671ca
commit c0b8ad503e
Signed by: winston
GPG key ID: 3786770EDBC2B481
4 changed files with 6 additions and 6 deletions

View file

@ -80,9 +80,10 @@ if vim.g.neovide then
vim.g.neovide_refresh_rate_idle = 5 vim.g.neovide_refresh_rate_idle = 5
vim.g.neovide_cursor_vfx_mode = "ripple" vim.g.neovide_cursor_vfx_mode = "ripple"
vim.g.neovide_scroll_animation_length = 0.3 vim.g.neovide_scroll_animation_length = 0.3
vim.g.neovide_input_macos_alt_is_meta = true
vim.g.neovide_hide_mouse_when_typing = true
vim.opt.guifont = { vim.opt.guifont = {
"Berkeley Mono", "BerkeleyMono Nerd Font",
"Symbols Nerd Font Mono",
"h14", "h14",
"#e-subpixelantialias", "#e-subpixelantialias",
} }

View file

@ -39,9 +39,9 @@
"nvim-navic": { "branch": "master", "commit": "7e9d2b2b601149fecdccd11b516acb721e571fe6" }, "nvim-navic": { "branch": "master", "commit": "7e9d2b2b601149fecdccd11b516acb721e571fe6" },
"nvim-surround": { "branch": "main", "commit": "ebdd22d2040798d0b5a5e50d72d940e95f308121" }, "nvim-surround": { "branch": "main", "commit": "ebdd22d2040798d0b5a5e50d72d940e95f308121" },
"nvim-tree.lua": { "branch": "master", "commit": "9c97e6449b0b0269bd44e1fd4857184dfa57bb4c" }, "nvim-tree.lua": { "branch": "master", "commit": "9c97e6449b0b0269bd44e1fd4857184dfa57bb4c" },
"nvim-treesitter": { "branch": "master", "commit": "b401b7423d18c78371c5ff1a5f8d3c14292b2047" }, "nvim-treesitter": { "branch": "master", "commit": "53695580e38d9ab5f858e8966275f1992bd2e2ec" },
"nvim-ts-autotag": { "branch": "main", "commit": "fdefe46c6807441460f11f11a167a2baf8e4534b" }, "nvim-ts-autotag": { "branch": "main", "commit": "fdefe46c6807441460f11f11a167a2baf8e4534b" },
"nvim-ts-rainbow": { "branch": "master", "commit": "ef95c15a935f97c65a80e48e12fe72d49aacf9b9" }, "nvim-ts-rainbow2": { "branch": "master", "commit": "c9e71254f8300cae2e5a9e4bd3533bd3e6f586b7" },
"nvim-web-devicons": { "branch": "master", "commit": "4709a504d2cd2680fb511675e64ef2790d491d36" }, "nvim-web-devicons": { "branch": "master", "commit": "4709a504d2cd2680fb511675e64ef2790d491d36" },
"octo.nvim": { "branch": "master", "commit": "f336322f865cfa310ae15435c6bec337687b6b20" }, "octo.nvim": { "branch": "master", "commit": "f336322f865cfa310ae15435c6bec337687b6b20" },
"playground": { "branch": "master", "commit": "4044b53c4d4fcd7a78eae20b8627f78ce7dc6f56" }, "playground": { "branch": "master", "commit": "4044b53c4d4fcd7a78eae20b8627f78ce7dc6f56" },

View file

@ -128,7 +128,6 @@ local on_attach = function(client, bufnr)
vim.keymap.set("n", "gd", vim.lsp.buf.definition, bufopts) vim.keymap.set("n", "gd", vim.lsp.buf.definition, bufopts)
vim.keymap.set("n", "K", vim.lsp.buf.hover, bufopts) vim.keymap.set("n", "K", vim.lsp.buf.hover, bufopts)
vim.keymap.set("n", "gi", vim.lsp.buf.implementation, bufopts) vim.keymap.set("n", "gi", vim.lsp.buf.implementation, bufopts)
vim.keymap.set("n", "<C-k>", vim.lsp.buf.signature_help, bufopts)
vim.keymap.set("n", "<leader>wa", vim.lsp.buf.add_workspace_folder, bufopts) vim.keymap.set("n", "<leader>wa", vim.lsp.buf.add_workspace_folder, bufopts)
vim.keymap.set( vim.keymap.set(
"n", "n",

View file

@ -38,7 +38,7 @@ local plugins = {
}, },
"nvim-treesitter/playground", "nvim-treesitter/playground",
"windwp/nvim-ts-autotag", "windwp/nvim-ts-autotag",
"p00f/nvim-ts-rainbow", "HiPhish/nvim-ts-rainbow2",
-- syntax -- syntax
{ {
"wuelnerdotexe/vim-astro", "wuelnerdotexe/vim-astro",