mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
Compare commits
17 commits
Author | SHA1 | Date | |
---|---|---|---|
|
dc19ff45d8 | ||
|
5df3f7b2ab | ||
|
82d6ba2889 | ||
|
bf60de3aa1 | ||
|
d31ffccdca | ||
|
d41d9b4cf5 | ||
|
f3761c699a | ||
|
04f3bfc8a3 | ||
|
56982c3434 | ||
|
65b1300677 | ||
|
5b2d06cf97 | ||
|
af0923e403 | ||
|
b727898cf3 | ||
|
69d6dd962d | ||
|
8e0228505a | ||
|
c2fbd57469 | ||
|
5dc5c723b2 |
29 changed files with 1212 additions and 686 deletions
26
README.md
26
README.md
|
@ -67,14 +67,14 @@
|
||||||
## Basic Requirement
|
## Basic Requirement
|
||||||
|
|
||||||
2. Install Neovim 0.95+ https://github.com/neovim/neovim/releases/tag/stable
|
2. Install Neovim 0.95+ https://github.com/neovim/neovim/releases/tag/stable
|
||||||
3. C++ https://www.msys2.org/
|
1. C++ https://www.msys2.org/
|
||||||
4. GIT https://git-scm.com/download/win
|
1. GIT https://git-scm.com/download/win
|
||||||
5. NodeJs https://nodejs.org/en/
|
1. NodeJs https://nodejs.org/en/
|
||||||
6. Ripgrep https://github.com/BurntSushi/ripgrep
|
1. Ripgrep https://github.com/BurntSushi/ripgrep
|
||||||
7. Lazygit https://github.com/jesseduffield/lazygit
|
1. Lazygit https://github.com/jesseduffield/lazygit
|
||||||
8. Nerd Font https://www.nerdfonts.com/ or https://github.com/ryanoasis/nerd-fonts
|
1. Nerd Font https://www.nerdfonts.com/ or https://github.com/ryanoasis/nerd-fonts
|
||||||
9. Windows Terminal (Windows) https://apps.microsoft.com/store/detail/windows-terminal/9N0DX20HK701?hl=en-id&gl=id
|
1. Windows Terminal (Windows) https://apps.microsoft.com/store/detail/windows-terminal/9N0DX20HK701?hl=en-id&gl=id
|
||||||
10. Powershell (windows) https://apps.microsoft.com/store/detail/powershell/9MZ1SNWT0N5D?hl=en-id&gl=id
|
1. Powershell (windows) https://apps.microsoft.com/store/detail/powershell/9MZ1SNWT0N5D?hl=en-id&gl=id
|
||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
|
|
||||||
|
@ -92,15 +92,21 @@ git clone https://github.com/pojokcodeid/neovim-starter.git ~/.config/nvim
|
||||||
# Uninstall
|
# Uninstall
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Linux / Macos (unix)
|
# Linux / MacOS (unix)
|
||||||
rm -rf ~/.config/nvim
|
rm -rf ~/.config/nvim
|
||||||
|
rm -rf ~/.local/state/nvim
|
||||||
rm -rf ~/.local/share/nvim
|
rm -rf ~/.local/share/nvim
|
||||||
|
|
||||||
|
# Flatpak (linux)
|
||||||
|
rm -rf ~/.var/app/io.neovim.nvim/config/nvim
|
||||||
|
rm -rf ~/.var/app/io.neovim.nvim/data/nvim
|
||||||
|
rm -rf ~/.var/app/io.neovim.nvim/.local/state/nvim
|
||||||
|
|
||||||
# Windows CMD
|
# Windows CMD
|
||||||
rd -r ~\AppData\Local\nvim
|
rd -r ~\AppData\Local\nvim
|
||||||
rd -r ~\AppData\Local\nvim-data
|
rd -r ~\AppData\Local\nvim-data
|
||||||
|
|
||||||
# Window PowerShell
|
# Windows PowerShell
|
||||||
rm -Force ~\AppData\Local\nvim
|
rm -Force ~\AppData\Local\nvim
|
||||||
rm -Force ~\AppData\Local\nvim-data
|
rm -Force ~\AppData\Local\nvim-data
|
||||||
```
|
```
|
||||||
|
|
124
lazy-lock.json
124
lazy-lock.json
|
@ -1,77 +1,75 @@
|
||||||
{
|
{
|
||||||
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
||||||
"Eva-Theme.nvim": { "branch": "master", "commit": "5e0ee05b7b803cbd781612d484b0796c45946a3d" },
|
"Eva-Theme.nvim": { "branch": "master", "commit": "9d743346eb0e7647d79468fff6f57352cd102655" },
|
||||||
"FixCursorHold.nvim": { "branch": "master", "commit": "1900f89dc17c603eec29960f57c00bd9ae696495" },
|
"FixCursorHold.nvim": { "branch": "master", "commit": "1900f89dc17c603eec29960f57c00bd9ae696495" },
|
||||||
"LuaSnip": { "branch": "master", "commit": "0f7bbce41ea152a94d12aea286f2ce98e63c0f58" },
|
"LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
|
||||||
"alpha-nvim": { "branch": "main", "commit": "de72250e054e5e691b9736ee30db72c65d560771" },
|
"alpha-nvim": { "branch": "main", "commit": "a35468cd72645dbd52c0624ceead5f301c566dff" },
|
||||||
"auto-bufferline.nvim": { "branch": "main", "commit": "f5835a4b62bfb6f6c829f8f050e5102ccf230b3e" },
|
"auto-bufferline.nvim": { "branch": "main", "commit": "f5835a4b62bfb6f6c829f8f050e5102ccf230b3e" },
|
||||||
"auto-conform.nvim": { "branch": "main", "commit": "5f0897235e84bf2f8ff9d634e81678d5bfa63ab8" },
|
"auto-conform.nvim": { "branch": "main", "commit": "5f0897235e84bf2f8ff9d634e81678d5bfa63ab8" },
|
||||||
"auto-java-project.nvim": { "branch": "v2", "commit": "71107191bed6bac984b886af458d3ac405e7a5fb" },
|
|
||||||
"auto-jdtls.nvim": { "branch": "main", "commit": "050da8d68c51a6e02a08d91329b7a848887927e7" },
|
|
||||||
"auto-lint.nvim": { "branch": "main", "commit": "aff13cb8eaa055e66e940d43b7d83166397e5413" },
|
"auto-lint.nvim": { "branch": "main", "commit": "aff13cb8eaa055e66e940d43b7d83166397e5413" },
|
||||||
"auto-lsp.nvim": { "branch": "main", "commit": "1f3ef04741972c107187a07be5615ff210888184" },
|
"auto-lsp.nvim": { "branch": "main", "commit": "ea80aef3ac630d310c2643047aaa7d7747d207a1" },
|
||||||
"auto-lualine.nvim": { "branch": "main", "commit": "fc8557f61dc1da12a8b90167a49420958b991d8c" },
|
"auto-lualine.nvim": { "branch": "main", "commit": "c889473aef975bf3b17a770dfb2039bb2a0cd41c" },
|
||||||
"breadcrumbs.nvim": { "branch": "master", "commit": "9f764278784ce2f10dbe2f555ba14be2451d36a0" },
|
"breadcrumbs.nvim": { "branch": "master", "commit": "9f764278784ce2f10dbe2f555ba14be2451d36a0" },
|
||||||
"bufferline.nvim": { "branch": "main", "commit": "5cc447cb2b463cb499c82eaeabbed4f5fa6a0a44" },
|
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
||||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||||
"cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" },
|
"cmp-cmdline": { "branch": "main", "commit": "d126061b624e0af6c3a556428712dd4d4194ec6d" },
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
"cmp-nvim-lsp": { "branch": "main", "commit": "a8912b88ce488f411177fc8aed358b04dc246d7b" },
|
||||||
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
|
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
|
||||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
"cmp-path": { "branch": "main", "commit": "c6635aae33a50d6010bf1aa756ac2398a2d54c32" },
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||||
"code_runner.nvim": { "branch": "main", "commit": "dcedccbf969a0f3bc00db446172b4966e83101dd" },
|
"code_runner.nvim": { "branch": "main", "commit": "65c8d11f507073b915f10faa88ea05bd4fbf69ce" },
|
||||||
"codeium.vim": { "branch": "main", "commit": "8c01979323b2b480c8bf160d3ff85bd1668baa49" },
|
"codeium.vim": { "branch": "main", "commit": "272c6e2755e8faa90e26bcdcd9fde6b9e61751ea" },
|
||||||
"conform.nvim": { "branch": "master", "commit": "023f795dbcf32d4351b6a9ed2e613d471b5bb812" },
|
"conform.nvim": { "branch": "master", "commit": "8132ec733eed3bf415b97b76797ca41b59f51d7d" },
|
||||||
"dressing.nvim": { "branch": "master", "commit": "fc78a3ca96f4db9f8893bb7e2fd9823e0780451b" },
|
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" },
|
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "ac5aba6dce8c06ea22bea2c9016f51a2dbf90dc7" },
|
"gitsigns.nvim": { "branch": "main", "commit": "1b0350ab707713b2bc6c236151f1a324175347b1" },
|
||||||
"inc-rename.nvim": { "branch": "main", "commit": "8ba77017ca468f3029bf88ef409c2d20476ea66b" },
|
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "7871a88056f7144defca9c931e311a3134c5d509" },
|
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "7967abe55752aa90532e6bb4bd4663fe27a264cb" },
|
"lualine.nvim": { "branch": "master", "commit": "a94fc68960665e54408fe37dcf573193c4ce82c9" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "f54e3c11fc9ebfcfc27e696182b0295b071d0811" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "43894adcf10bb1190c2184bd7c1750e8ea2b3dce" },
|
"mason-nvim-dap.nvim": { "branch": "main", "commit": "4c2cdc69d69fe00c15ae8648f7e954d99e5de3ea" },
|
||||||
"mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" },
|
"mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
"menu": { "branch": "main", "commit": "7a0a4a2896b715c066cfbe320bdc048091874cc6" },
|
||||||
"menu": { "branch": "main", "commit": "657bfc91382c0928453d9a4d0a10ec92db5de2bb" },
|
"mini.indentscope": { "branch": "main", "commit": "5fdc3edf7bb1b6365980c2c47dac2f19ec93c97b" },
|
||||||
"mini.indentscope": { "branch": "main", "commit": "da9af64649e114aa79480c238fd23f6524bc0903" },
|
"minty": { "branch": "main", "commit": "aafc9e8e0afe6bf57580858a2849578d8d8db9e0" },
|
||||||
"minty": { "branch": "main", "commit": "a3d69bd63fc98f640815f94b797bf978e9193022" },
|
"neotest": { "branch": "master", "commit": "ef492755730e59e1d8122c461abbd086bee4c76b" },
|
||||||
"neotest": { "branch": "master", "commit": "6d3d22cdad49999ef774ebe1bc250a4994038964" },
|
"neotest-golang": { "branch": "main", "commit": "0a0acff3cf9a0bf140c84ea9e66d818df7c2608f" },
|
||||||
"neotest-java": { "branch": "main", "commit": "320f31c71b183f2c584198f33f93542fd0e5a768" },
|
"neotest-plenary": { "branch": "master", "commit": "3523adcf9ffaad1911960c5813b0136c1b63a2ec" },
|
||||||
"noice.nvim": { "branch": "main", "commit": "2626b4a49340e4eae24a388468ac98680fc24532" },
|
"neotest-vim-test": { "branch": "master", "commit": "75c4228882ae4883b11bfce9b8383e637eb44192" },
|
||||||
"nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" },
|
"noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" },
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "b464658e9b880f463b9f7e6ccddd93fb0013f559" },
|
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "f17d9b4394027ff4442b298398dfcaab97e40c4f" },
|
"nvim-autopairs": { "branch": "master", "commit": "2647cce4cb64fb35c212146663384e05ae126bdf" },
|
||||||
"nvim-colorizer.lua": { "branch": "master", "commit": "f134063618a65cad4d7415fddbd96ff7e0c5b4ae" },
|
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
|
||||||
"nvim-dap": { "branch": "master", "commit": "29d1f8814fa4fcc194ec574de998a42a22ebbe4a" },
|
"nvim-colorizer.lua": { "branch": "master", "commit": "517df88cf2afb36652830df2c655df2da416a0ae" },
|
||||||
"nvim-dap-ui": { "branch": "master", "commit": "ffa89839f97bad360e78428d5c740fdad9a0ff02" },
|
"nvim-dap": { "branch": "master", "commit": "2edd6375692d9ac1053d50acfe415c1eb2ba92d0" },
|
||||||
"nvim-dap-virtual-text": { "branch": "master", "commit": "76d80c3d171224315b61c006502a1e30c213a9ab" },
|
"nvim-dap-go": { "branch": "main", "commit": "8763ced35b19c8dc526e04a70ab07c34e11ad064" },
|
||||||
"nvim-jdtls": { "branch": "master", "commit": "c4279b8ffce9b64eb302056d78dfebc2968a49bc" },
|
"nvim-dap-ui": { "branch": "master", "commit": "73a26abf4941aa27da59820fd6b028ebcdbcf932" },
|
||||||
"nvim-lint": { "branch": "master", "commit": "36da8dd0ddc4f88e0beae234c20e75397326f143" },
|
"nvim-dap-virtual-text": { "branch": "master", "commit": "fbdb48c2ed45f4a8293d0d483f7730d24467ccb6" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "f012c1b176f0e3c71f40eb309bdec0316689462e" },
|
"nvim-lint": { "branch": "master", "commit": "2b0039b8be9583704591a13129c600891ac2c596" },
|
||||||
|
"nvim-lspconfig": { "branch": "master", "commit": "0112e1f77983141e1453bd37d124302f1c876c46" },
|
||||||
"nvim-material-icon": { "branch": "main", "commit": "38fc13fe4811c4bf62533180ff5e7bbd237c5ef5" },
|
"nvim-material-icon": { "branch": "main", "commit": "38fc13fe4811c4bf62533180ff5e7bbd237c5ef5" },
|
||||||
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
|
"nvim-navic": { "branch": "master", "commit": "f887d794a0f4594882814d7780980a949200a238" },
|
||||||
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
|
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||||
"nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" },
|
"nvim-notify": { "branch": "master", "commit": "b5825cf9ee881dd8e43309c93374ed5b87b7a896" },
|
||||||
"nvim-scrollview": { "branch": "main", "commit": "f7f611330a8f7cd00dc81538fec369611be678ed" },
|
"nvim-scrollview": { "branch": "main", "commit": "095181bc2adb64af670dae73208871a731f0bb86" },
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "f7c65e11d695a084ca10b93df659bb7e68b71f9f" },
|
"nvim-tree.lua": { "branch": "master", "commit": "b0b49552c9462900a882fe772993b01d780445fe" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "37427012d1c77c544356bfff0c9acc88fd3256bc" },
|
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" },
|
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "9c74db656c3d0b1c4392fc89a016b1910539e7c0" },
|
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "e87554285f581047b1bf236794b0eb812b444b87" },
|
"nvim-web-devicons": { "branch": "master", "commit": "19d6211c78169e78bab372b585b6fb17ad974e82" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
|
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||||
"rainbow-delimiters.nvim": { "branch": "master", "commit": "f22496dfdd46da4d571f5254c72eff65ff5a1c27" },
|
"rainbow-delimiters.nvim": { "branch": "master", "commit": "55ad4fb76ab68460f700599b7449385f0c4e858e" },
|
||||||
"refactoring.nvim": { "branch": "master", "commit": "53ed6854e0bba64d467c58e87084dcf8b1c22d36" },
|
"showkeys": { "branch": "main", "commit": "cb0a50296f11f1e585acffba8c253b9e8afc1f84" },
|
||||||
"smart-splits.nvim": { "branch": "master", "commit": "ea4702652cb1d18811d60f2e206787602a2e946c" },
|
"smart-splits.nvim": { "branch": "master", "commit": "0098e376638602bc6aaf779bb8531b840a3fe26e" },
|
||||||
"symbols-outline.nvim": { "branch": "master", "commit": "964c5902243446124417a3a9e9454f5ef032cc36" },
|
"telescope-diff.nvim": { "branch": "master", "commit": "c797b722516e871b51def7e69266f0cc9875bacf" },
|
||||||
"telescope-treesitter-info.nvim": { "branch": "master", "commit": "4bed952c3c33015c4402007f179b478843d5aa3b" },
|
"telescope-treesitter-info.nvim": { "branch": "master", "commit": "4bed952c3c33015c4402007f179b478843d5aa3b" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "85922dde3767e01d42a08e750a773effbffaea3e" },
|
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
|
||||||
"tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "a39fa4c92268832f6034306793b8acbfec2a7549" },
|
"tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "51f548421f8a74680eff27d283c9d5ea6e8d0074" },
|
||||||
"toggleterm.nvim": { "branch": "main", "commit": "87b2d6a3cab8e2bd9a0255427074285f0365398d" },
|
"toggleterm.nvim": { "branch": "main", "commit": "9a88eae817ef395952e08650b3283726786fb5fb" },
|
||||||
"vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" },
|
"vim-illuminate": { "branch": "master", "commit": "0d1e93684da00ab7c057410fecfc24f434698898" },
|
||||||
"vim-visual-multi": { "branch": "master", "commit": "a6975e7c1ee157615bbc80fc25e4392f71c344d4" },
|
"vim-visual-multi": { "branch": "master", "commit": "a6975e7c1ee157615bbc80fc25e4392f71c344d4" },
|
||||||
"virt-column.nvim": { "branch": "master", "commit": "b87e3e0864211a32724a2ebf3be37e24e9e2fa99" },
|
"virt-column.nvim": { "branch": "master", "commit": "b87e3e0864211a32724a2ebf3be37e24e9e2fa99" },
|
||||||
"volt": { "branch": "main", "commit": "41c03a5d6a0a8a997e774a3482d82e5ef820c6ba" },
|
"volt": { "branch": "main", "commit": "7b8c5e790120d9f08c8487dcb80692db6d2087a1" },
|
||||||
"which-key.nvim": { "branch": "main", "commit": "68e37e12913a66b60073906f5d3f14dee0de19f2" },
|
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" },
|
||||||
"yanky.nvim": { "branch": "main", "commit": "f9b905994cccf3c55f41af3a0a1f4c76c844e411" },
|
"yanky.nvim": { "branch": "main", "commit": "04775cc6e10ef038c397c407bc17f00a2f52b378" }
|
||||||
"zen-mode.nvim": { "branch": "main", "commit": "29b292bdc58b76a6c8f294c961a8bf92c5a6ebd6" }
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ return {
|
||||||
lazy = true,
|
lazy = true,
|
||||||
cmd = {
|
cmd = {
|
||||||
"TSInstall",
|
"TSInstall",
|
||||||
"TSInstallInfo",
|
-- "TSInstallInfo",
|
||||||
"TSInstallSync",
|
"TSInstallSync",
|
||||||
"TSUpdate",
|
"TSUpdate",
|
||||||
"TSUpdateSync",
|
"TSUpdateSync",
|
||||||
|
@ -42,6 +42,9 @@ return {
|
||||||
end, opts.ensure_installed)
|
end, opts.ensure_installed)
|
||||||
end
|
end
|
||||||
require("nvim-treesitter.configs").setup(opts)
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
|
vim.api.nvim_create_user_command("TSInstallInfo", function()
|
||||||
|
vim.cmd("Telescope treesitter_info")
|
||||||
|
end, {})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,8 @@ return {
|
||||||
{
|
{
|
||||||
"L3MON4D3/LuaSnip",
|
"L3MON4D3/LuaSnip",
|
||||||
event = "InsertEnter",
|
event = "InsertEnter",
|
||||||
|
version = "v2.*",
|
||||||
|
build = "make install_jsregexp",
|
||||||
opts = {
|
opts = {
|
||||||
history = true,
|
history = true,
|
||||||
delete_check_events = "TextChanged",
|
delete_check_events = "TextChanged",
|
||||||
|
|
|
@ -12,15 +12,27 @@ local rfile = {
|
||||||
cpp = "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir/$fileNameWithoutExt",
|
cpp = "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir/$fileNameWithoutExt",
|
||||||
scss = "sass $dir/$fileName $dir/$fileNameWithoutExt.css",
|
scss = "sass $dir/$fileName $dir/$fileNameWithoutExt.css",
|
||||||
javascript = 'node "$dir/$fileName"',
|
javascript = 'node "$dir/$fileName"',
|
||||||
go = "go run .",
|
-- go = "go run .",
|
||||||
|
go = "go run $fileName",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local runProject = {}
|
||||||
|
local cwd = vim.fn.getcwd()
|
||||||
|
local go_mod_path = cwd .. "/go.mod"
|
||||||
|
if vim.fn.filereadable(go_mod_path) ~= 0 then
|
||||||
|
runProject[cwd] = {
|
||||||
|
name = "Go Project (cwd)",
|
||||||
|
command = "go run .",
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"CRAG666/code_runner.nvim",
|
"CRAG666/code_runner.nvim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
cmd = { "RunCode", "RunFile", "RunProject", "RunClose" },
|
cmd = { "RunCode", "RunFile", "RunProject", "RunClose" },
|
||||||
opts = {
|
opts = {
|
||||||
filetype = rfile,
|
filetype = rfile,
|
||||||
|
project = runProject,
|
||||||
mode = "float",
|
mode = "float",
|
||||||
focus = true,
|
focus = true,
|
||||||
startinsert = true,
|
startinsert = true,
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
return {
|
|
||||||
"stevearc/dressing.nvim",
|
|
||||||
lazy = true,
|
|
||||||
init = function()
|
|
||||||
---@diagnostic disable-next-line: duplicate-set-field
|
|
||||||
vim.ui.select = function(...)
|
|
||||||
require("lazy").load({ plugins = { "dressing.nvim" } })
|
|
||||||
return vim.ui.select(...)
|
|
||||||
end
|
|
||||||
---@diagnostic disable-next-line: duplicate-set-field
|
|
||||||
vim.ui.input = function(...)
|
|
||||||
require("lazy").load({ plugins = { "dressing.nvim" } })
|
|
||||||
return vim.ui.input(...)
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
opts = {
|
|
||||||
input = {
|
|
||||||
title_pos = "center",
|
|
||||||
relative = "editor",
|
|
||||||
default_prompt = "➤ ",
|
|
||||||
win_options = { winhighlight = "Normal:Normal,NormalNC:Normal" },
|
|
||||||
prefer_width = 30,
|
|
||||||
max_width = { 140, 0.9 },
|
|
||||||
min_width = { 50, 0.2 },
|
|
||||||
},
|
|
||||||
select = {
|
|
||||||
backend = { "telescope", "builtin" },
|
|
||||||
builtin = { win_options = { winhighlight = "Normal:Normal,NormalNC:Normal" } },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
config = function(_, opts)
|
|
||||||
require("dressing").setup(opts)
|
|
||||||
end,
|
|
||||||
}
|
|
35
lua/pcode/plugins/extras/dressing.lua
Normal file
35
lua/pcode/plugins/extras/dressing.lua
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
return {
|
||||||
|
"pojokcodeid/dressing.nvim",
|
||||||
|
lazy = true,
|
||||||
|
init = function()
|
||||||
|
---@diagnostic disable-next-line: duplicate-set-field
|
||||||
|
vim.ui.select = function(...)
|
||||||
|
require("lazy").load({ plugins = { "dressing.nvim" } })
|
||||||
|
return vim.ui.select(...)
|
||||||
|
end
|
||||||
|
---@diagnostic disable-next-line: duplicate-set-field
|
||||||
|
-- vim.ui.input = function(...)
|
||||||
|
-- require("lazy").load({ plugins = { "dressing.nvim" } })
|
||||||
|
-- return vim.ui.input(...)
|
||||||
|
-- end
|
||||||
|
end,
|
||||||
|
opts = {
|
||||||
|
input = {
|
||||||
|
enabled = false,
|
||||||
|
title_pos = "center",
|
||||||
|
relative = "editor",
|
||||||
|
default_prompt = "➤ ",
|
||||||
|
win_options = { winhighlight = "Normal:Normal,NormalNC:Normal" },
|
||||||
|
prefer_width = 30,
|
||||||
|
max_width = { 140, 0.9 },
|
||||||
|
min_width = { 50, 0.2 },
|
||||||
|
},
|
||||||
|
select = {
|
||||||
|
backend = { "telescope", "builtin" },
|
||||||
|
builtin = { win_options = { winhighlight = "Normal:Normal,NormalNC:Normal" } },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
config = function(_, opts)
|
||||||
|
require("dressing").setup(opts)
|
||||||
|
end,
|
||||||
|
}
|
14
lua/pcode/plugins/extras/fidget.lua
Normal file
14
lua/pcode/plugins/extras/fidget.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
return {
|
||||||
|
"j-hui/fidget.nvim",
|
||||||
|
lazy = true,
|
||||||
|
tag = "legacy",
|
||||||
|
event = "BufRead",
|
||||||
|
config = function()
|
||||||
|
require("fidget").setup({
|
||||||
|
window = {
|
||||||
|
blend = 0,
|
||||||
|
relative = "editor",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
|
@ -1,12 +1,13 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"nvchad/menu",
|
"nvzone/menu",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = { "VeryLazy" },
|
event = { "VeryLazy" },
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ "nvchad/volt", lazy = true },
|
{ "nvzone/volt", lazy = true },
|
||||||
|
{ "nvzone/showkeys", cmd = "ShowkeysToggle", lazy = true },
|
||||||
{
|
{
|
||||||
"nvchad/minty",
|
"nvzone/minty",
|
||||||
cmd = { "Shades", "Huefy" },
|
cmd = { "Shades", "Huefy" },
|
||||||
lazy = true,
|
lazy = true,
|
||||||
},
|
},
|
||||||
|
@ -22,10 +23,12 @@ return {
|
||||||
end, {})
|
end, {})
|
||||||
|
|
||||||
-- mouse users + nvimtree users!
|
-- mouse users + nvimtree users!
|
||||||
vim.keymap.set("n", "<RightMouse>", function()
|
vim.keymap.set({ "n", "v" }, "<RightMouse>", function()
|
||||||
|
require("menu.utils").delete_old_menus()
|
||||||
vim.cmd.exec('"normal! \\<RightMouse>"')
|
vim.cmd.exec('"normal! \\<RightMouse>"')
|
||||||
|
|
||||||
local options = vim.bo.ft == "NvimTree" and "nvimtree" or "default"
|
local buf = vim.api.nvim_win_get_buf(vim.fn.getmousepos().winid)
|
||||||
|
local options = vim.bo[buf].ft == "NvimTree" and "nvimtree" or "default"
|
||||||
require("menu").open(options, opts)
|
require("menu").open(options, opts)
|
||||||
end, {})
|
end, {})
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -2,6 +2,7 @@ return {
|
||||||
"hiphish/rainbow-delimiters.nvim",
|
"hiphish/rainbow-delimiters.nvim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = "BufRead",
|
event = "BufRead",
|
||||||
|
branch = "master",
|
||||||
config = function()
|
config = function()
|
||||||
-- Modul ini berisi beberapa definisi default
|
-- Modul ini berisi beberapa definisi default
|
||||||
local rainbow_delimiters = require("rainbow-delimiters")
|
local rainbow_delimiters = require("rainbow-delimiters")
|
||||||
|
|
26
lua/pcode/plugins/extras/telescopediff.lua
Normal file
26
lua/pcode/plugins/extras/telescopediff.lua
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
return {
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"jemag/telescope-diff.nvim",
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require("telescope").load_extension("diff")
|
||||||
|
end,
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>sd",
|
||||||
|
function()
|
||||||
|
require("telescope").extensions.diff.diff_files({ hidden = true })
|
||||||
|
end,
|
||||||
|
desc = "Diff 2 Files",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>sD",
|
||||||
|
function()
|
||||||
|
require("telescope").extensions.diff.diff_current({ hidden = true })
|
||||||
|
end,
|
||||||
|
desc = "Diff Current File",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
22
lua/pcode/plugins/extras/tinydignostic.lua
Normal file
22
lua/pcode/plugins/extras/tinydignostic.lua
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
return {
|
||||||
|
"rachartier/tiny-inline-diagnostic.nvim",
|
||||||
|
event = "VeryLazy", -- Or `LspAttach`
|
||||||
|
priority = 1000, -- needs to be loaded in first
|
||||||
|
config = function()
|
||||||
|
require("tiny-inline-diagnostic").setup({
|
||||||
|
preset = "powerline",
|
||||||
|
-- signs = {
|
||||||
|
-- left = "",
|
||||||
|
-- right = "",
|
||||||
|
-- diag = "●",
|
||||||
|
-- arrow = " ",
|
||||||
|
-- up_arrow = " ",
|
||||||
|
-- vertical = " │",
|
||||||
|
-- vertical_end = " └",
|
||||||
|
-- },
|
||||||
|
blend = {
|
||||||
|
factor = 0.22,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
|
@ -21,6 +21,8 @@ return {
|
||||||
"WinBar",
|
"WinBar",
|
||||||
"WinBarNC",
|
"WinBarNC",
|
||||||
"NotifyBackground",
|
"NotifyBackground",
|
||||||
|
"TabLine",
|
||||||
|
"TabLineFill",
|
||||||
},
|
},
|
||||||
exclude_groups = {
|
exclude_groups = {
|
||||||
-- disable active selection backgroun
|
-- disable active selection backgroun
|
||||||
|
@ -53,6 +55,10 @@ return {
|
||||||
-- create auto command to set transparent
|
-- create auto command to set transparent
|
||||||
vim.cmd("TransparentDisable")
|
vim.cmd("TransparentDisable")
|
||||||
vim.cmd("TransparentEnable")
|
vim.cmd("TransparentEnable")
|
||||||
|
vim.api.nvim_set_hl(0, "MasonHeader", { bold = true, bg = "NONE", fg = "#838FA7" })
|
||||||
|
vim.api.nvim_set_hl(0, "MasonMutedBlock", { bg = "NONE", fg = "#838FA7" })
|
||||||
|
vim.api.nvim_set_hl(0, "MasonHighlightBlockBold", { bold = true, bg = "NONE", fg = "#ABB2BF" })
|
||||||
|
vim.api.nvim_set_hl(0, "LazyH1", { bold = true, bg = "NONE", fg = "#ABB2BF" })
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -11,6 +11,46 @@ return {
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
opts.ensure_installed = opts.ensure_installed or {}
|
opts.ensure_installed = opts.ensure_installed or {}
|
||||||
vim.list_extend(opts.ensure_installed, { "gopls" })
|
vim.list_extend(opts.ensure_installed, { "gopls" })
|
||||||
|
vim.api.nvim_create_user_command("GoRun", function()
|
||||||
|
local filename = vim.fn.expand("%:p") -- path lengkap file aktif
|
||||||
|
if not filename:match("%.go$") then
|
||||||
|
vim.notify("current file is not a go file.", vim.log.levels.WARN, { title = "GoRun" })
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
local Terminal = require("toggleterm.terminal").Terminal
|
||||||
|
local go_runner = Terminal:new({
|
||||||
|
cmd = "go run " .. filename,
|
||||||
|
direction = "float",
|
||||||
|
close_on_exit = false,
|
||||||
|
hidden = true,
|
||||||
|
})
|
||||||
|
|
||||||
|
go_runner:toggle()
|
||||||
|
end, {})
|
||||||
|
vim.api.nvim_create_user_command("GoBuild", function()
|
||||||
|
local cwd = vim.fn.getcwd()
|
||||||
|
local go_mod_path = cwd .. "/go.mod"
|
||||||
|
if vim.fn.filereadable(go_mod_path) == 0 then
|
||||||
|
vim.notify("current project is not a go project.", vim.log.levels.WARN, { title = "GoBuild" })
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
local Terminal = require("toggleterm.terminal").Terminal
|
||||||
|
-- create file exe jika os adalah windows
|
||||||
|
local filename = "output"
|
||||||
|
if vim.fn.has("win32") == 1 then
|
||||||
|
filename = "output.exe"
|
||||||
|
end
|
||||||
|
local go_runner = Terminal:new({
|
||||||
|
cmd = "go build -o " .. filename .. " && ./" .. filename,
|
||||||
|
direction = "float",
|
||||||
|
close_on_exit = false,
|
||||||
|
hidden = true,
|
||||||
|
})
|
||||||
|
|
||||||
|
go_runner:toggle()
|
||||||
|
end, {})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -26,8 +66,8 @@ return {
|
||||||
"pojokcodeid/auto-lint.nvim",
|
"pojokcodeid/auto-lint.nvim",
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
opts.linters_by_ft = opts.linters_by_ft or {}
|
opts.linters_by_ft = opts.linters_by_ft or {}
|
||||||
vim.list_extend(opts.ensure_installed, { "ast-grep" })
|
vim.list_extend(opts.ensure_installed, { "golangci-lint" })
|
||||||
opts.linters_by_ft.php = { "ast-grep" }
|
opts.linters_by_ft.php = { "golangci-lint" }
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,9 +6,24 @@ return {
|
||||||
},
|
},
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
local icons = require("pcode.user.icons")
|
local icons = require("pcode.user.icons")
|
||||||
opts.disable_netrw = true
|
opts.auto_reload_on_write = false
|
||||||
opts.hijack_cursor = true
|
opts.disable_netrw = false
|
||||||
|
opts.hijack_cursor = false
|
||||||
|
opts.hijack_netrw = true
|
||||||
|
opts.hijack_unnamed_buffer_when_opening = false
|
||||||
opts.sync_root_with_cwd = true
|
opts.sync_root_with_cwd = true
|
||||||
|
opts.sort = {
|
||||||
|
sorter = "name",
|
||||||
|
folders_first = true,
|
||||||
|
files_first = false,
|
||||||
|
}
|
||||||
|
opts.root_dirs = {}
|
||||||
|
opts.prefer_startup_root = false
|
||||||
|
opts.sync_root_with_cwd = true
|
||||||
|
opts.reload_on_bufenter = false
|
||||||
|
opts.respect_buf_cwd = false
|
||||||
|
opts.on_attach = "default"
|
||||||
|
opts.select_prompts = false
|
||||||
opts.update_focused_file = {
|
opts.update_focused_file = {
|
||||||
enable = true,
|
enable = true,
|
||||||
update_root = false,
|
update_root = false,
|
||||||
|
@ -112,6 +127,44 @@ return {
|
||||||
return opts
|
return opts
|
||||||
end,
|
end,
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
|
if pcode.nvimtree_float then
|
||||||
|
-- set nvimtree float view (default left side)
|
||||||
|
opts.view = {
|
||||||
|
adaptive_size = false,
|
||||||
|
centralize_selection = true,
|
||||||
|
side = "left",
|
||||||
|
preserve_window_proportions = false,
|
||||||
|
number = false,
|
||||||
|
relativenumber = false,
|
||||||
|
signcolumn = "yes",
|
||||||
|
float = {
|
||||||
|
enable = true,
|
||||||
|
open_win_config = function()
|
||||||
|
local screen_w = vim.opt.columns:get()
|
||||||
|
---@diagnostic disable-next-line: undefined-field
|
||||||
|
local screen_h = vim.opt.lines:get() - vim.opt.cmdheight:get()
|
||||||
|
local window_w = screen_w * 0.5
|
||||||
|
local window_h = screen_h * 0.9
|
||||||
|
local window_w_int = math.floor(window_w)
|
||||||
|
local window_h_int = math.floor(window_h)
|
||||||
|
local center_x = (screen_w - window_w) / 2
|
||||||
|
---@diagnostic disable-next-line: undefined-field
|
||||||
|
local center_y = ((vim.opt.lines:get() - window_h) / 2) - vim.opt.cmdheight:get()
|
||||||
|
return {
|
||||||
|
border = "rounded",
|
||||||
|
relative = "editor",
|
||||||
|
row = center_y,
|
||||||
|
col = center_x,
|
||||||
|
width = window_w_int,
|
||||||
|
height = window_h_int,
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
width = function()
|
||||||
|
return math.floor(vim.opt.columns:get() * 0.5)
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
end
|
||||||
require("nvim-tree").setup(opts)
|
require("nvim-tree").setup(opts)
|
||||||
local api = require("nvim-tree.api")
|
local api = require("nvim-tree.api")
|
||||||
api.events.subscribe(api.events.Event.FileCreated, function(file)
|
api.events.subscribe(api.events.Event.FileCreated, function(file)
|
||||||
|
|
|
@ -49,6 +49,7 @@ return {
|
||||||
Normal = { fg = colors.text, bg = transparent and colors.none or colors.base },
|
Normal = { fg = colors.text, bg = transparent and colors.none or colors.base },
|
||||||
NormalNC = { fg = colors.text, bg = transparent and colors.none or colors.base },
|
NormalNC = { fg = colors.text, bg = transparent and colors.none or colors.base },
|
||||||
StatusLine = { fg = colors.text, bg = colors.none },
|
StatusLine = { fg = colors.text, bg = colors.none },
|
||||||
|
MasonBackdrop = { link = "NormalFloat" },
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
highlight_overrides = {
|
highlight_overrides = {
|
||||||
|
|
|
@ -50,6 +50,7 @@ return {
|
||||||
LspReferenceWrite = { bg = "#3b4261" },
|
LspReferenceWrite = { bg = "#3b4261" },
|
||||||
WinBar = { bg = colors.bg },
|
WinBar = { bg = colors.bg },
|
||||||
WinBarNC = { fg = colors.fg, bg = colors.bg },
|
WinBarNC = { fg = colors.fg, bg = colors.bg },
|
||||||
|
MasonBackdrop = { link = "NormalFloat" },
|
||||||
},
|
},
|
||||||
transparent_bg = false,
|
transparent_bg = false,
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,9 @@ return {
|
||||||
hi(0, "WinBar", { bg = color.background })
|
hi(0, "WinBar", { bg = color.background })
|
||||||
hi(0, "WinBarNC", { bg = color.background })
|
hi(0, "WinBarNC", { bg = color.background })
|
||||||
hi(0, "NormalFloat", { bg = color.background })
|
hi(0, "NormalFloat", { bg = color.background })
|
||||||
|
hi(0, "TabLine", { bg = color.background })
|
||||||
hi(0, "NormalNC", { bg = color.background })
|
hi(0, "NormalNC", { bg = color.background })
|
||||||
|
hi(0, "MasonBackdrop", { link = "NormalFloat" })
|
||||||
hi(0, "@tag.delimiter.javascript", { fg = color.punctuation })
|
hi(0, "@tag.delimiter.javascript", { fg = color.punctuation })
|
||||||
hi(0, "@tag.delimiter.tsx", { fg = color.punctuation })
|
hi(0, "@tag.delimiter.tsx", { fg = color.punctuation })
|
||||||
-- git
|
-- git
|
||||||
|
|
|
@ -53,6 +53,7 @@ return {
|
||||||
specs = {},
|
specs = {},
|
||||||
groups = {
|
groups = {
|
||||||
all = {
|
all = {
|
||||||
|
MasonBackdrop = { link = "NormalFloat" },
|
||||||
illuminatedWord = { bg = "#3b4261" },
|
illuminatedWord = { bg = "#3b4261" },
|
||||||
illuminatedCurWord = { bg = "#3b4261" },
|
illuminatedCurWord = { bg = "#3b4261" },
|
||||||
IlluminatedWordText = { bg = "#3b4261" },
|
IlluminatedWordText = { bg = "#3b4261" },
|
||||||
|
|
|
@ -18,6 +18,7 @@ return {
|
||||||
["FoldColumn"] = { bg = "NONE" },
|
["FoldColumn"] = { bg = "NONE" },
|
||||||
["Folded"] = { bg = "NONE" },
|
["Folded"] = { bg = "NONE" },
|
||||||
["SignColumn"] = { bg = "NONE" },
|
["SignColumn"] = { bg = "NONE" },
|
||||||
|
["MasonBackdrop"] = { link = "NormalFloat" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -33,6 +33,7 @@ return {
|
||||||
hi(0, "TelescopePromptNormal", { bg = colors.dark, fg = colors.grey })
|
hi(0, "TelescopePromptNormal", { bg = colors.dark, fg = colors.grey })
|
||||||
hi(0, "TelescopePromptPrefix", { bg = colors.dark, fg = colors.red })
|
hi(0, "TelescopePromptPrefix", { bg = colors.dark, fg = colors.red })
|
||||||
hi(0, "TelescopeResultsTitle", { bg = colors.olive_green, fg = colors.very_dark_gray })
|
hi(0, "TelescopeResultsTitle", { bg = colors.olive_green, fg = colors.very_dark_gray })
|
||||||
|
hi(0, "MasonBackdrop", { link = "NormalFloat" })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
local colorscheme = pcode.themes.jetbrains or "darcula-dark"
|
local colorscheme = pcode.themes.jetbrains or "darcula-dark"
|
||||||
|
|
|
@ -116,6 +116,7 @@ return {
|
||||||
NormalNC = { fg = "${fg}", bg = is_transparent and "NONE" or "${bg}" },
|
NormalNC = { fg = "${fg}", bg = is_transparent and "NONE" or "${bg}" },
|
||||||
FloatBorder = { fg = "${fg}", bg = is_transparent and "NONE" or "${bg}" },
|
FloatBorder = { fg = "${fg}", bg = is_transparent and "NONE" or "${bg}" },
|
||||||
NonText = { bg = "NONE", fg = "#3E4450" },
|
NonText = { bg = "NONE", fg = "#3E4450" },
|
||||||
|
MasonBackdrop = { link = "NormalFloat" },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
local colorscheme = pcode.themes.onedarkpro or "onedark"
|
local colorscheme = pcode.themes.onedarkpro or "onedark"
|
||||||
|
|
|
@ -12,6 +12,7 @@ return {
|
||||||
-- custom hilights
|
-- custom hilights
|
||||||
local hi = vim.api.nvim_set_hl
|
local hi = vim.api.nvim_set_hl
|
||||||
hi(0, "FoldColumn", { bg = colors.bg2 })
|
hi(0, "FoldColumn", { bg = colors.bg2 })
|
||||||
|
hi(0, "MasonBackdrop", { link = "NormalFloat" })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -71,6 +71,7 @@ return {
|
||||||
highlights["@tag.attribute"] = { fg = colors.green1, italic = true }
|
highlights["@tag.attribute"] = { fg = colors.green1, italic = true }
|
||||||
-- highlights["@keyword.function"] = { fg = colors.blue, italic = true }
|
-- highlights["@keyword.function"] = { fg = colors.blue, italic = true }
|
||||||
-- highlights["@function"] = { fg = colors.blue, italic = true }
|
-- highlights["@function"] = { fg = colors.blue, italic = true }
|
||||||
|
highlights.MasonBackdrop = { link = "NormalFloat" }
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -3,12 +3,12 @@ local api = vim.api
|
||||||
-- General Settings
|
-- General Settings
|
||||||
api.nvim_create_augroup("_general_settings", { clear = true })
|
api.nvim_create_augroup("_general_settings", { clear = true })
|
||||||
|
|
||||||
api.nvim_create_autocmd("TextYankPost", {
|
-- api.nvim_create_autocmd("TextYankPost", {
|
||||||
group = "_general_settings",
|
-- group = "_general_settings",
|
||||||
callback = function()
|
-- callback = function()
|
||||||
require("vim.highlight").on_yank({ higroup = "Visual", timeout = 200 })
|
-- require("vim.highlight").on_yank({ higroup = "Visual", timeout = 200 })
|
||||||
end,
|
-- end,
|
||||||
})
|
-- })
|
||||||
|
|
||||||
api.nvim_create_autocmd("FileType", {
|
api.nvim_create_autocmd("FileType", {
|
||||||
group = "_general_settings",
|
group = "_general_settings",
|
||||||
|
@ -124,3 +124,234 @@ vim.api.nvim_create_autocmd("ExitPre", {
|
||||||
-- vim.api.nvim_set_keymap("n", "<leader>rg", "<cmd>terminal<cr>gradle run<cr>", { noremap = true, silent = true })
|
-- vim.api.nvim_set_keymap("n", "<leader>rg", "<cmd>terminal<cr>gradle run<cr>", { noremap = true, silent = true })
|
||||||
-- end,
|
-- end,
|
||||||
-- })
|
-- })
|
||||||
|
|
||||||
|
-- Extras
|
||||||
|
local function lsp_status()
|
||||||
|
local bufnr = vim.api.nvim_get_current_buf()
|
||||||
|
local clients = vim.lsp.get_clients and vim.lsp.get_clients({ bufnr = bufnr })
|
||||||
|
or vim.lsp.get_active_clients({ bufnr = bufnr })
|
||||||
|
|
||||||
|
if #clients == 0 then
|
||||||
|
print(" No LSP clients attached")
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
print(" LSP Status for buffer " .. bufnr .. ":")
|
||||||
|
print("─────────────────────────────────")
|
||||||
|
|
||||||
|
for i, client in ipairs(clients) do
|
||||||
|
print(string.format(" Client %d: %s (ID: %d)", i, client.name, client.id))
|
||||||
|
print(" Root: " .. (client.config.root_dir or "N/A"))
|
||||||
|
print(" Filetypes: " .. table.concat(client.config.filetypes or {}, ", "))
|
||||||
|
|
||||||
|
-- Check capabilities
|
||||||
|
local caps = client.server_capabilities
|
||||||
|
local features = {}
|
||||||
|
if caps.completionProvider then
|
||||||
|
table.insert(features, "completion")
|
||||||
|
end
|
||||||
|
if caps.hoverProvider then
|
||||||
|
table.insert(features, "hover")
|
||||||
|
end
|
||||||
|
if caps.definitionProvider then
|
||||||
|
table.insert(features, "definition")
|
||||||
|
end
|
||||||
|
if caps.referencesProvider then
|
||||||
|
table.insert(features, "references")
|
||||||
|
end
|
||||||
|
if caps.renameProvider then
|
||||||
|
table.insert(features, "rename")
|
||||||
|
end
|
||||||
|
if caps.codeActionProvider then
|
||||||
|
table.insert(features, "code_action")
|
||||||
|
end
|
||||||
|
if caps.documentFormattingProvider then
|
||||||
|
table.insert(features, "formatting")
|
||||||
|
end
|
||||||
|
|
||||||
|
print(" Features: " .. table.concat(features, ", "))
|
||||||
|
print("")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
vim.api.nvim_create_user_command("LspStatus", lsp_status, { desc = "Show detailed LSP status" })
|
||||||
|
|
||||||
|
local function check_lsp_capabilities()
|
||||||
|
local bufnr = vim.api.nvim_get_current_buf()
|
||||||
|
local clients = vim.lsp.get_clients and vim.lsp.get_clients({ bufnr = bufnr })
|
||||||
|
or vim.lsp.get_active_clients({ bufnr = bufnr })
|
||||||
|
|
||||||
|
if #clients == 0 then
|
||||||
|
print("No LSP clients attached")
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
for _, client in ipairs(clients) do
|
||||||
|
print("Capabilities for " .. client.name .. ":")
|
||||||
|
local caps = client.server_capabilities
|
||||||
|
|
||||||
|
local capability_list = {
|
||||||
|
{ "Completion", caps.completionProvider },
|
||||||
|
{ "Hover", caps.hoverProvider },
|
||||||
|
{ "Signature Help", caps.signatureHelpProvider },
|
||||||
|
{ "Go to Definition", caps.definitionProvider },
|
||||||
|
{ "Go to Declaration", caps.declarationProvider },
|
||||||
|
{ "Go to Implementation", caps.implementationProvider },
|
||||||
|
{ "Go to Type Definition", caps.typeDefinitionProvider },
|
||||||
|
{ "Find References", caps.referencesProvider },
|
||||||
|
{ "Document Highlight", caps.documentHighlightProvider },
|
||||||
|
{ "Document Symbol", caps.documentSymbolProvider },
|
||||||
|
{ "Workspace Symbol", caps.workspaceSymbolProvider },
|
||||||
|
{ "Code Action", caps.codeActionProvider },
|
||||||
|
{ "Code Lens", caps.codeLensProvider },
|
||||||
|
{ "Document Formatting", caps.documentFormattingProvider },
|
||||||
|
{ "Document Range Formatting", caps.documentRangeFormattingProvider },
|
||||||
|
{ "Rename", caps.renameProvider },
|
||||||
|
{ "Folding Range", caps.foldingRangeProvider },
|
||||||
|
{ "Selection Range", caps.selectionRangeProvider },
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, cap in ipairs(capability_list) do
|
||||||
|
local status = cap[2] and "✓" or "✗"
|
||||||
|
print(string.format(" %s %s", status, cap[1]))
|
||||||
|
end
|
||||||
|
print("")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
vim.api.nvim_create_user_command("LspCapabilities", check_lsp_capabilities, { desc = "Show LSP capabilities" })
|
||||||
|
|
||||||
|
local function lsp_diagnostics_info()
|
||||||
|
local bufnr = vim.api.nvim_get_current_buf()
|
||||||
|
local diagnostics = vim.diagnostic.get(bufnr)
|
||||||
|
|
||||||
|
local counts = { ERROR = 0, WARN = 0, INFO = 0, HINT = 0 }
|
||||||
|
|
||||||
|
for _, diagnostic in ipairs(diagnostics) do
|
||||||
|
local severity = vim.diagnostic.severity[diagnostic.severity]
|
||||||
|
counts[severity] = counts[severity] + 1
|
||||||
|
end
|
||||||
|
|
||||||
|
print(" Diagnostics for current buffer:")
|
||||||
|
print(" Errors: " .. counts.ERROR)
|
||||||
|
print(" Warnings: " .. counts.WARN)
|
||||||
|
print(" Info: " .. counts.INFO)
|
||||||
|
print(" Hints: " .. counts.HINT)
|
||||||
|
print(" Total: " .. #diagnostics)
|
||||||
|
end
|
||||||
|
|
||||||
|
vim.api.nvim_create_user_command("LspDiagnostics", lsp_diagnostics_info, { desc = "Show LSP diagnostics count" })
|
||||||
|
|
||||||
|
local function lsp_info()
|
||||||
|
local bufnr = vim.api.nvim_get_current_buf()
|
||||||
|
local clients = vim.lsp.get_clients and vim.lsp.get_clients({ bufnr = bufnr })
|
||||||
|
or vim.lsp.get_active_clients({ bufnr = bufnr })
|
||||||
|
|
||||||
|
print("═══════════════════════════════════")
|
||||||
|
print(" LSP INFORMATION ")
|
||||||
|
print("═══════════════════════════════════")
|
||||||
|
print("")
|
||||||
|
|
||||||
|
-- Basic info
|
||||||
|
print(" Language client log: " .. vim.lsp.get_log_path())
|
||||||
|
print(" Detected filetype: " .. vim.bo.filetype)
|
||||||
|
print(" Buffer: " .. bufnr)
|
||||||
|
print(" Root directory: " .. (vim.fn.getcwd() or "N/A"))
|
||||||
|
print("")
|
||||||
|
|
||||||
|
if #clients == 0 then
|
||||||
|
print(" No LSP clients attached to buffer " .. bufnr)
|
||||||
|
print("")
|
||||||
|
print("Possible reasons:")
|
||||||
|
print(" • No language server installed for " .. vim.bo.filetype)
|
||||||
|
print(" • Language server not configured")
|
||||||
|
print(" • Not in a project root directory")
|
||||||
|
print(" • File type not recognized")
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
print(" LSP clients attached to buffer " .. bufnr .. ":")
|
||||||
|
print("─────────────────────────────────")
|
||||||
|
|
||||||
|
for i, client in ipairs(clients) do
|
||||||
|
print(string.format(" Client %d: %s", i, client.name))
|
||||||
|
print(" ID: " .. client.id)
|
||||||
|
print(" Root dir: " .. (client.config.root_dir or "Not set"))
|
||||||
|
print(" Command: " .. table.concat(client.config.cmd or {}, " "))
|
||||||
|
print(" Filetypes: " .. table.concat(client.config.filetypes or {}, ", "))
|
||||||
|
|
||||||
|
-- Server status
|
||||||
|
if client.is_stopped() then
|
||||||
|
print(" Status: Stopped")
|
||||||
|
else
|
||||||
|
print(" Status: Running")
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Workspace folders
|
||||||
|
if client.workspace_folders and #client.workspace_folders > 0 then
|
||||||
|
print(" Workspace folders:")
|
||||||
|
for _, folder in ipairs(client.workspace_folders) do
|
||||||
|
print(" • " .. folder.name)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Attached buffers count
|
||||||
|
local attached_buffers = {}
|
||||||
|
for buf, _ in pairs(client.attached_buffers or {}) do
|
||||||
|
table.insert(attached_buffers, buf)
|
||||||
|
end
|
||||||
|
print(" Attached buffers: " .. #attached_buffers)
|
||||||
|
|
||||||
|
-- Key capabilities
|
||||||
|
local caps = client.server_capabilities
|
||||||
|
local key_features = {}
|
||||||
|
if caps.completionProvider then
|
||||||
|
table.insert(key_features, "completion")
|
||||||
|
end
|
||||||
|
if caps.hoverProvider then
|
||||||
|
table.insert(key_features, "hover")
|
||||||
|
end
|
||||||
|
if caps.definitionProvider then
|
||||||
|
table.insert(key_features, "definition")
|
||||||
|
end
|
||||||
|
if caps.documentFormattingProvider then
|
||||||
|
table.insert(key_features, "formatting")
|
||||||
|
end
|
||||||
|
if caps.codeActionProvider then
|
||||||
|
table.insert(key_features, "code_action")
|
||||||
|
end
|
||||||
|
|
||||||
|
if #key_features > 0 then
|
||||||
|
print(" Key features: " .. table.concat(key_features, ", "))
|
||||||
|
end
|
||||||
|
|
||||||
|
print("")
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Diagnostics summary
|
||||||
|
local diagnostics = vim.diagnostic.get(bufnr)
|
||||||
|
if #diagnostics > 0 then
|
||||||
|
print(" Diagnostics Summary:")
|
||||||
|
local counts = { ERROR = 0, WARN = 0, INFO = 0, HINT = 0 }
|
||||||
|
|
||||||
|
for _, diagnostic in ipairs(diagnostics) do
|
||||||
|
local severity = vim.diagnostic.severity[diagnostic.severity]
|
||||||
|
counts[severity] = counts[severity] + 1
|
||||||
|
end
|
||||||
|
|
||||||
|
print(" Errors: " .. counts.ERROR)
|
||||||
|
print(" Warnings: " .. counts.WARN)
|
||||||
|
print(" Info: " .. counts.INFO)
|
||||||
|
print(" Hints: " .. counts.HINT)
|
||||||
|
print(" Total: " .. #diagnostics)
|
||||||
|
else
|
||||||
|
print(" No diagnostics")
|
||||||
|
end
|
||||||
|
|
||||||
|
print("")
|
||||||
|
print("Use :LspLog to view detailed logs")
|
||||||
|
print("Use :LspCapabilities for full capability list")
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Create command
|
||||||
|
vim.api.nvim_create_user_command("LspInfo2", lsp_info, { desc = "Show comprehensive LSP information" })
|
||||||
|
|
|
@ -47,7 +47,23 @@ return {
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
vim.list_extend(opts.skip_config, {})
|
vim.list_extend(opts.skip_config, {})
|
||||||
opts.virtual_text = true
|
opts.virtual_text = false
|
||||||
|
vim.diagnostic.config({ virtual_lines = { current_line = true } })
|
||||||
|
-- sample custom diagnostic icon
|
||||||
|
vim.diagnostic.config({
|
||||||
|
underline = false,
|
||||||
|
virtual_text = false,
|
||||||
|
update_in_insert = false,
|
||||||
|
severity_sort = true,
|
||||||
|
signs = {
|
||||||
|
text = {
|
||||||
|
[vim.diagnostic.severity.ERROR] = " ",
|
||||||
|
[vim.diagnostic.severity.WARN] = " ",
|
||||||
|
[vim.diagnostic.severity.HINT] = " ",
|
||||||
|
[vim.diagnostic.severity.INFO] = " ",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
-- add whichkey mappings
|
-- add whichkey mappings
|
||||||
|
|
|
@ -4,8 +4,8 @@ pcode.lang = {
|
||||||
cpp = false,
|
cpp = false,
|
||||||
sql = false,
|
sql = false,
|
||||||
deno = false,
|
deno = false,
|
||||||
golang = false,
|
golang = true,
|
||||||
java = true,
|
java = false,
|
||||||
java2 = false,
|
java2 = false,
|
||||||
java3 = false,
|
java3 = false,
|
||||||
java4 = false,
|
java4 = false,
|
||||||
|
@ -27,12 +27,12 @@ pcode.extras = {
|
||||||
minianimate = false,
|
minianimate = false,
|
||||||
neoscroll = false,
|
neoscroll = false,
|
||||||
nvimufo = false,
|
nvimufo = false,
|
||||||
refactoring = true,
|
refactoring = false,
|
||||||
rest = false,
|
rest = false,
|
||||||
treesittercontex = false,
|
treesittercontex = false,
|
||||||
codeium = true,
|
codeium = true,
|
||||||
colorizer = true,
|
colorizer = true,
|
||||||
dap = true,
|
dap = false,
|
||||||
deviconcolor = true,
|
deviconcolor = true,
|
||||||
illuminate = true,
|
illuminate = true,
|
||||||
indentscupe = true,
|
indentscupe = true,
|
||||||
|
@ -44,9 +44,13 @@ pcode.extras = {
|
||||||
verticalcolumn = true,
|
verticalcolumn = true,
|
||||||
visualmulti = true,
|
visualmulti = true,
|
||||||
yanky = true,
|
yanky = true,
|
||||||
zenmode = true,
|
zenmode = false,
|
||||||
lspsignatur = false,
|
lspsignatur = false,
|
||||||
telescopetreesiterinfo = true,
|
telescopetreesiterinfo = true,
|
||||||
|
fidget = false,
|
||||||
|
tinydignostic = false,
|
||||||
|
dressing = true,
|
||||||
|
telescopediff = true,
|
||||||
}
|
}
|
||||||
-- activate config themes
|
-- activate config themes
|
||||||
pcode.themes = {
|
pcode.themes = {
|
||||||
|
@ -95,3 +99,4 @@ pcode.themes = {
|
||||||
pcode.transparent = false
|
pcode.transparent = false
|
||||||
pcode.localcode = true
|
pcode.localcode = true
|
||||||
pcode.snippets_path = vim.fn.stdpath("config") .. "/mysnippets"
|
pcode.snippets_path = vim.fn.stdpath("config") .. "/mysnippets"
|
||||||
|
pcode.nvimtree_float = false
|
||||||
|
|
|
@ -91,3 +91,80 @@ keymap("n", "<A-l>", "<cmd>terminal live-server<cr>", opts)
|
||||||
|
|
||||||
-- close current buffer
|
-- close current buffer
|
||||||
keymap("n", "<S-t>", "<cmd>lua require('auto-bufferline.configs.utils').bufremove()<cr>", opts)
|
keymap("n", "<S-t>", "<cmd>lua require('auto-bufferline.configs.utils').bufremove()<cr>", opts)
|
||||||
|
|
||||||
|
-- vim.keymap.set("n", "<leader>ti", function()
|
||||||
|
-- local api = vim.api
|
||||||
|
-- local parser_configs = require("nvim-treesitter.parsers").get_parser_configs()
|
||||||
|
-- local parsers = vim.tbl_keys(parser_configs)
|
||||||
|
-- table.sort(parsers)
|
||||||
|
--
|
||||||
|
-- local choices = {}
|
||||||
|
-- local lookup = {}
|
||||||
|
--
|
||||||
|
-- for _, parser in ipairs(parsers) do
|
||||||
|
-- local is_installed = #api.nvim_get_runtime_file("parser/" .. parser .. ".so", false) > 0
|
||||||
|
--
|
||||||
|
-- local label = (is_installed and "[✓] " or "[✗] ") .. parser
|
||||||
|
-- table.insert(choices, label)
|
||||||
|
-- lookup[label] = parser
|
||||||
|
-- end
|
||||||
|
--
|
||||||
|
-- vim.ui.select(choices, {
|
||||||
|
-- prompt = "Treesitter ([✓]= installed, [✗] = not installed)",
|
||||||
|
-- }, function(choice)
|
||||||
|
-- if choice then
|
||||||
|
-- local parser_name = lookup[choice]
|
||||||
|
-- if parser_name then
|
||||||
|
-- vim.cmd("TSInstall " .. parser_name)
|
||||||
|
-- end
|
||||||
|
-- end
|
||||||
|
-- end)
|
||||||
|
-- end, { desc = "Install Treesitter" })
|
||||||
|
--
|
||||||
|
-- vim.keymap.set("n", "<leader>tu", function()
|
||||||
|
-- local parsers = require("nvim-treesitter.info").installed_parsers()
|
||||||
|
-- table.sort(parsers)
|
||||||
|
-- local choices = {}
|
||||||
|
-- local lookup = {}
|
||||||
|
--
|
||||||
|
-- for _, parser in ipairs(parsers) do
|
||||||
|
-- local label = "[✓] " .. parser
|
||||||
|
-- table.insert(choices, label)
|
||||||
|
-- lookup[label] = parser
|
||||||
|
-- end
|
||||||
|
--
|
||||||
|
-- vim.ui.select(choices, {
|
||||||
|
-- prompt = "Uninstall Treesitter",
|
||||||
|
-- }, function(choice)
|
||||||
|
-- if choice then
|
||||||
|
-- local parser_name = lookup[choice]
|
||||||
|
-- if parser_name then
|
||||||
|
-- vim.cmd("TSUninstall " .. parser_name)
|
||||||
|
-- end
|
||||||
|
-- end
|
||||||
|
-- end)
|
||||||
|
-- end, { desc = "Uninstall Treesitter" })
|
||||||
|
|
||||||
|
vim.api.nvim_create_user_command("TSIsInstalled", function()
|
||||||
|
local parsers = require("nvim-treesitter.info").installed_parsers()
|
||||||
|
table.sort(parsers)
|
||||||
|
local choices = {}
|
||||||
|
local lookup = {}
|
||||||
|
|
||||||
|
for _, parser in ipairs(parsers) do
|
||||||
|
local label = "[✓] " .. parser
|
||||||
|
table.insert(choices, label)
|
||||||
|
lookup[label] = parser
|
||||||
|
end
|
||||||
|
|
||||||
|
vim.ui.select(choices, {
|
||||||
|
prompt = "Uninstall Treesitter",
|
||||||
|
}, function(choice)
|
||||||
|
if choice then
|
||||||
|
local parser_name = lookup[choice]
|
||||||
|
if parser_name then
|
||||||
|
vim.cmd("TSUninstall " .. parser_name)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
end, {})
|
||||||
|
|
|
@ -61,7 +61,7 @@ vim.loader.enable()
|
||||||
|
|
||||||
-- Disable statusline in dashboard
|
-- Disable statusline in dashboard
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
pattern = { "dbout", "dbui", "http", "httpResult" },
|
pattern = { "dbout", "dbui", "http", "httpResult", "checkhealth", "qf", "help", "lazy" },
|
||||||
callback = function()
|
callback = function()
|
||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
opt.number = false -- Print line number
|
opt.number = false -- Print line number
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue