From 686a1f43b8e33e632bc446ad92a3b102bd015f70 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 12 Dec 2023 11:56:09 +0800 Subject: [PATCH] docs(README): Use readme auto-generated by dotfyle also fix vim-sandwich Signed-off-by: Ryan --- README.md | 114 +++++++++++++++++++++++++++++++++++++++++-- lazy-lock.json | 12 ++--- lua/lazy-plugins.lua | 1 + 3 files changed, 116 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 7270ac8..942f142 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,113 @@ -# Nvim.config +# config.nvim/ -Minimalistic neovim config, with full LSP and TS support and completion + + + -The package manager is Lazy.nvim - -## Minimalistic +Minimalistic but fully functional neovim config, with full LSP and TS support and completion Use lua plugins when possible, lazy load and byte-compile when possible, use neovim builtin features when possible. + +Never override default keymap with different functionality. + +## Install Instructions + +> Install requires Neovim 0.9+. Always review the code before installing a configuration. + +Clone the repository and install the plugins: + +```sh +git clone git@github.com:JuanCldCmt/config.nvim ~/.config/JuanCldCmt/config.nvim +NVIM_APPNAME=JuanCldCmt/config.nvim/ nvim --headless +"Lazy! sync" +qa +``` + +Open Neovim with this config: + +```sh +NVIM_APPNAME=JuanCldCmt/config.nvim/ nvim +``` + +## Plugins + +### color + +- [NvChad/nvim-colorizer.lua](https://dotfyle.com/plugins/NvChad/nvim-colorizer.lua) +- [winston0410/range-highlight.nvim](https://dotfyle.com/plugins/winston0410/range-highlight.nvim) + +### colorscheme + +- [sainnhe/gruvbox-material](https://dotfyle.com/plugins/sainnhe/gruvbox-material) + +### comment + +- [numToStr/Comment.nvim](https://dotfyle.com/plugins/numToStr/Comment.nvim) +- [danymat/neogen](https://dotfyle.com/plugins/danymat/neogen) + +### completion + +- [hrsh7th/nvim-cmp](https://dotfyle.com/plugins/hrsh7th/nvim-cmp) + +### editing-support + +- [nvim-treesitter/nvim-treesitter-context](https://dotfyle.com/plugins/nvim-treesitter/nvim-treesitter-context) +- [altermo/ultimate-autopair.nvim](https://dotfyle.com/plugins/altermo/ultimate-autopair.nvim) + +### fuzzy-finder + +- [nvim-telescope/telescope.nvim](https://dotfyle.com/plugins/nvim-telescope/telescope.nvim) + +### game + +- [seandewar/killersheep.nvim](https://dotfyle.com/plugins/seandewar/killersheep.nvim) + +### git + +- [lewis6991/gitsigns.nvim](https://dotfyle.com/plugins/lewis6991/gitsigns.nvim) +- [NeogitOrg/neogit](https://dotfyle.com/plugins/NeogitOrg/neogit) +- [sindrets/diffview.nvim](https://dotfyle.com/plugins/sindrets/diffview.nvim) + +### lsp + +- [simrat39/symbols-outline.nvim](https://dotfyle.com/plugins/simrat39/symbols-outline.nvim) +- [nvimtools/none-ls.nvim](https://dotfyle.com/plugins/nvimtools/none-ls.nvim) +- [neovim/nvim-lspconfig](https://dotfyle.com/plugins/neovim/nvim-lspconfig) + +### lsp-installer + +- [williamboman/mason.nvim](https://dotfyle.com/plugins/williamboman/mason.nvim) + +### nvim-dev + +- [nvim-lua/plenary.nvim](https://dotfyle.com/plugins/nvim-lua/plenary.nvim) + +### plugin-manager + +- [folke/lazy.nvim](https://dotfyle.com/plugins/folke/lazy.nvim) + +### quickfix + +- [kevinhwang91/nvim-bqf](https://dotfyle.com/plugins/kevinhwang91/nvim-bqf) + +### snippet + +- [L3MON4D3/LuaSnip](https://dotfyle.com/plugins/L3MON4D3/LuaSnip) +- [rafamadriz/friendly-snippets](https://dotfyle.com/plugins/rafamadriz/friendly-snippets) + +### statusline + +- [nvim-lualine/lualine.nvim](https://dotfyle.com/plugins/nvim-lualine/lualine.nvim) + +### syntax + +- [nvim-treesitter/nvim-treesitter-textobjects](https://dotfyle.com/plugins/nvim-treesitter/nvim-treesitter-textobjects) +- [nvim-treesitter/nvim-treesitter](https://dotfyle.com/plugins/nvim-treesitter/nvim-treesitter) + +### utility + +- [stevearc/dressing.nvim](https://dotfyle.com/plugins/stevearc/dressing.nvim) + +## Language Servers + +- rust_analyzer + +This readme was generated by [Dotfyle](https://dotfyle.com) diff --git a/lazy-lock.json b/lazy-lock.json index b66d1a8..4244bed 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -4,13 +4,13 @@ "cmp-async-path": { "branch": "main", "commit": "d8229a93d7b71f22c66ca35ac9e6c6cd850ec61d" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" }, - "cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" }, + "cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" }, "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "diffview.nvim": { "branch": "main", "commit": "3dc498c9777fe79156f3d32dddd483b8b3dbd95f" }, "dressing.nvim": { "branch": "master", "commit": "8b7ae53d7f04f33be3439a441db8071c96092d19" }, "friendly-snippets": { "branch": "main", "commit": "53d3df271d031c405255e99410628c26a8f0d2b0" }, - "gitsigns.nvim": { "branch": "main", "commit": "87640f5a877b18bdd49884dbcac220fed924b867" }, + "gitsigns.nvim": { "branch": "main", "commit": "6e05045fb1a4845fe44f5c54aafe024444c422ba" }, "gruvbox-material": { "branch": "master", "commit": "7f56d9f9c4860df528031539d321a61f6e081dee" }, "killersheep.nvim": { "branch": "master", "commit": "506823c47b854df02e78d5fec9468ab0e542dcf5" }, "lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" }, @@ -19,13 +19,13 @@ "mason-null-ls.nvim": { "branch": "main", "commit": "d1f7258f80867f718d643d88eee66959671a4bef" }, "mason.nvim": { "branch": "main", "commit": "41e75af1f578e55ba050c863587cffde3556ffa6" }, "neogen": { "branch": "main", "commit": "70127baaff25611deaf1a29d801fc054ad9d2dc1" }, - "neogit": { "branch": "master", "commit": "857adaeef272af25361c1b57f1f4d829333213df" }, + "neogit": { "branch": "master", "commit": "0cdc73e625322c491862b95aece148854fd57f68" }, "none-ls.nvim": { "branch": "main", "commit": "45d0e8fa9094dcc3fabad9065a5822af9cf099c7" }, "nvim-bqf": { "branch": "main", "commit": "bdc2a4e5bb670b3c0e33ada9c0eec636d93a0748" }, - "nvim-cmp": { "branch": "main", "commit": "0b751f6beef40fd47375eaf53d3057e0bfa317e4" }, + "nvim-cmp": { "branch": "main", "commit": "41d7633e4146dce1072de32cea31ee31b056a131" }, "nvim-colorizer.lua": { "branch": "master", "commit": "dde3084106a70b9a79d48f426f6d6fec6fd203f7" }, "nvim-lspconfig": { "branch": "master", "commit": "bd405e45c5fb122c16af8f87fa2dd7ab1981b243" }, - "nvim-treesitter": { "branch": "master", "commit": "7958ff9ec7a2baea2842323d0e7ac67a509da4d2" }, + "nvim-treesitter": { "branch": "master", "commit": "a6c655629cad421e432aa84af32cbfe35375113a" }, "nvim-treesitter-context": { "branch": "master", "commit": "cfa8ee19ac9bae9b7fb2958eabe2b45b70c56ccb" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "ec1c5bdb3d87ac971749fa6c7dbc2b14884f1f6a" }, "nvim-web-devicons": { "branch": "master", "commit": "8b2e5ef9eb8a717221bd96cb8422686d65a09ed5" }, @@ -34,7 +34,7 @@ "range-highlight.nvim": { "branch": "master", "commit": "8b5e8ccb3460b2c3675f4639b9f54e64eaab36d9" }, "symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" }, "telescope.nvim": { "branch": "master", "commit": "6213322ab56eb27356fdc09a5078e41e3ea7f3bc" }, - "ultimate-autopair.nvim": { "branch": "v0.6", "commit": "3b8c8b153b54b2cb86dc6fcc547264a84c31f775" }, + "ultimate-autopair.nvim": { "branch": "v0.6", "commit": "41d8b52183df39096d5a2918467cd6266282f64b" }, "vim-matchup": { "branch": "master", "commit": "269f9bea87e20a01438085eb13df539929a12727" }, "vim-sandwich": { "branch": "master", "commit": "c5a2cc438ce6ea2005c556dc833732aa53cae21a" } } \ No newline at end of file diff --git a/lua/lazy-plugins.lua b/lua/lazy-plugins.lua index 79fe66c..d9b5cb4 100644 --- a/lua/lazy-plugins.lua +++ b/lua/lazy-plugins.lua @@ -282,6 +282,7 @@ local plugins = { local vscode_plugins = { { "machakann/vim-sandwich", + event = "ModeChanged", keys = "s" }, {