neovim configuration using rocks.nvim plugin manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add markdown support with `markview.nvim`

+38 -4
+2
after/ftplugin/markdown.vim
··· 1 1 setlocal wrap 2 2 setlocal colorcolumn= 3 + setlocal tabstop=2 4 + setlocal shiftwidth=2
+14
lua/plugins/markview.lua
··· 1 + require("markview").setup({ 2 + -- on_enable = function () 3 + -- pcall(vim.cmd --[[@as function]], "IBLDisable") 4 + -- end, 5 + -- on_disable = function () 6 + -- pcall(vim.cmd --[[@as function]], "IBLEnable") 7 + -- end, 8 + }) 9 + vim.api.nvim_create_autocmd("FileType", { 10 + pattern = "markdown", 11 + callback = function (ev) 12 + vim.keymap.set("n", "<cr>", "<cmd>Markview toggle<cr>", { buffer = ev.bufnr }) 13 + end 14 + })
+22 -4
rocks.toml
··· 7 7 # List of non-Neovim rocks. 8 8 # This includes things like `toml` or other lua packages. 9 9 [rocks] 10 + lua-curl = "0.3.13" 11 + xml2lua = "1.6" 12 + mimetypes = "1.0.0" 10 13 11 14 # List of Neovim plugins to install alongside their versions. 12 15 # If the plugin name contains a dot then you must add quotes to the key name! 13 16 [plugins] 14 - "rocks.nvim" = "2.35.1" 17 + "rocks.nvim" = "2.35.2" 15 18 "rocks-git.nvim" = "2.0.0" 16 19 "rocks-dev.nvim" = "1.2.4" 17 20 "rocks-config.nvim" = "2.1.4" ··· 29 32 luasnip = "2.3.0" 30 33 neogit = "scm" 31 34 "kanagawa.nvim" = "scm" 32 - "rest.nvim" = "2.0.1" 33 35 "mini.ai" = "scm" 34 36 nvim-surround = "2.1.5" 35 37 nvim-treesitter-legacy-api = "0.9.2" 36 - fzf-lua = "0.0.1363" 38 + fzf-lua = "0.0.1367" 37 39 38 40 tree-sitter-css = "scm" 39 41 tree-sitter-ecma = "scm" ··· 68 70 tree-sitter-groovy = "scm" 69 71 tree-sitter-ini = "scm" 70 72 tree-sitter-vimdoc = "scm" 71 - "lazydev.nvim" = "1.6.0" 73 + tree-sitter-tmux = "scm" 74 + "lazydev.nvim" = "1.7.0" 75 + tree-sitter-astro = "scm" 76 + tree-sitter-jsonc = "scm" 77 + tree-sitter-html_tags = "scm" 78 + tree-sitter-editorconfig = "scm" 79 + treesj = "scm" 72 80 73 81 [plugins."gitsigns.nvim"] 74 82 git = "lewis6991/gitsigns.nvim" ··· 80 88 81 89 [plugins.harpoon] 82 90 git = "ThePrimeagen/harpoon" 91 + rev = "0378a6c428a0bed6a2781d459d7943843f374bce" 83 92 branch = "harpoon2" 84 93 85 94 [plugins."leap.nvim"] 86 95 git = "ggandor/leap.nvim" 96 + rev = "c099aecaf858574909bd38cbadb8543c4dd16611" 97 + 98 + [plugins."rest.nvim"] 99 + git = "aktersnurra/rest.nvim" 100 + rev = "7d6de91881a1b702fca2fe1e7f5ae88670a42b2a" 101 + branch = "fix/getregtype" 102 + 103 + [plugins."markview.nvim"] 104 + dir = "~/repo/markview.nvim/" 87 105 88 106 [config] 89 107 auto_setup = false