-
Notifications
You must be signed in to change notification settings - Fork 26.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1 Workflow Requires Approval #570
Comments
@dam9000 I can't assign this issue to you for some reason but it would be great if you could please look into it as it was your commit/PR that introduced the stylua change. Thanks in advance, and no worries if you're too busy/don't have time/whatever I can publish a PR to revert this change. |
A bit of background on why the approval from a maintainer is required: I don't think the workflow check needs to be reverted outright, it's true it requires a manual step for first time contributors, but it does not prevent anyone from opening a PR and it does not prevent you as the maintainer from merging the PR. But it does give you the ability to check if the PR conforms with the stylua rules with a click of a button for first time contributors. There are a couple of things that can be done to improve this: 1. the repo owner could adjust the workflow settings, default is:it could be changed to: which would relax a bit the requirement for manual run only for NEW github users and would restrict the workflow to a read-only mode. 2. modify the workflow to use a different trigger (pull_request_target)Using
as noted in: I have not tested this, but can try it and submit a new PR if you would like to do it this way. |
If we want the Stylua check, from my perspective anyway, we either want it (always) or don't (never) :) So I would advocate whatever strategy removes the extra step and also removes the thing that looks like an exception/error case. Thanks for hashing this out. |
@feoh ok, I'll test out the second option (pull_request_target) and open a new PR when ready. |
Thank you very much I sincerely appreciate it! |
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Here is the PR: I tested with a secondary account that:
|
Addressing issue #570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Thanks so much for the fix! |
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout (cherry picked from commit c4055a2)
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua/kickstart.nvim#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua/kickstart.nvim#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
commit b83b2b0 Author: Chiller Dragon <[email protected]> Date: Mon Mar 4 21:47:45 2024 +0800 chore: link new installation youtube video (#678) commit a02abdb Author: Chiller Dragon <[email protected]> Date: Mon Mar 4 21:47:11 2024 +0800 chore: remove trailing spaces from readme (#679) commit c3127f1 Author: Damjan 9000 <[email protected]> Date: Mon Mar 4 14:16:50 2024 +0100 Change statusline location to LINE:COLUMN (#689) commit c9122e8 Author: Damjan 9000 <[email protected]> Date: Mon Mar 4 01:32:06 2024 +0100 fix: checkhealth reported nvim version (#685) commit e6710a4 Author: TJ DeVries <[email protected]> Date: Sun Mar 3 03:13:16 2024 -0500 fix: add note in readme for custom plugins commit 23fc4e5 Author: Damjan 9000 <[email protected]> Date: Sun Mar 3 03:12:55 2024 +0100 README.md: updated windows install instructions (#674) commit b99af2d Author: Taulant Aliraj <[email protected]> Date: Sun Mar 3 02:07:58 2024 +0000 feat: use VimEnter event instead of VeryLazy (#673) commit 94a9364 Author: Nhan Luu <[email protected]> Date: Sat Mar 2 04:07:34 2024 +0700 chore: fix typos (#666) commit 38828dc Author: Anton Kastritskii <[email protected]> Date: Thu Feb 29 18:14:36 2024 +0000 feat: enable lua lsp snipppets (#660) commit b58666d Author: TJ DeVries <[email protected]> Date: Thu Feb 29 12:08:01 2024 -0500 fixup: updated some style stuff commit 465d6f2 Author: Damjan 9000 <[email protected]> Date: Wed Feb 28 19:23:13 2024 +0100 Change mini.statusline location format to LINE:COLUMN (#659) Default mini.statusline location format is: 'cursor line | total lines │ cursor column | total columns' commit 18b919c Author: brxxlstxrs <[email protected]> Date: Tue Feb 27 21:08:37 2024 +0300 add plugin specs docstring, remove lazy.nvim configuration (empty) table (#652) commit af4fd23 Author: TJ DeVries <[email protected]> Date: Mon Feb 26 10:46:31 2024 -0500 fixup: change comment to reflect auto_install commit 1c89b02 Author: TJ DeVries <[email protected]> Date: Mon Feb 26 10:45:32 2024 -0500 fixup: add autocommand link for help and description commit 8b5d48a Author: TJ DeVries <[email protected]> Date: Mon Feb 26 10:03:53 2024 -0500 rewrite: slimmer, trimmer and more lazy kickstart.nvim (#635) We've removed over 1/3 of the code that was in kickstart previously, and more than doubled the amount of comments explaining every line of code (to the best of my ability). kickstart now properly uses many of the lazy.nvim config and loading idioms, which should be really helpful for people moving both to modular configs, as well as extending the kickstart config in one file. Additional features: - Beautiful ascii art - Added some documentation that explains what is an LSP, what is telescope, etc - There is now a `:checkhealth` for kickstart, which checks some basic information and adds useful information for maintainers (for people cloning the repo). - Improved LSP configuration and tool installation, for easier first time startup - Changed init.lua ordering, so that it moves from simple options to complicated config ``` ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- Lua 1 108 404 298 ------------------------------------------------------------------------------- ``` commit 7af594f Author: rgarber11 <[email protected]> Date: Mon Feb 5 13:49:19 2024 -0500 Add Build Step to LuaSnip (#611) commit 5d2d81b Author: Chris Patti <[email protected]> Date: Sat Feb 3 19:15:25 2024 -0500 Fixes #607. Add hints for new neovim users to learn how to learn. (#615) commit bc4ad12 Author: Micah Effiong <[email protected]> Date: Fri Feb 2 21:24:46 2024 +0100 feat: added contexts for code action - source fix-all errors (#599) * feat: added contexts for code action - source fix-all errors * fix: resolve stylua checks * fix: resolve stylua checks commit c3ae716 Author: Damjan 9000 <[email protected]> Date: Thu Feb 1 17:01:46 2024 +0100 issue: #594 stylua workflow only on official kickstart repo (#609) Only run the github stylua workflow check on the official kickstart repo (nvim-lua/kickstart.nvim) so that it's not enforced on any other forks. As suggested by: @zwergius commit b115814 Author: Nazar <[email protected]> Date: Mon Jan 29 18:52:50 2024 +0000 Add Onedark Style (#590) * Add style options to Onedark setup (init.lua) * stylua init.lua * Load onedark through `require` * Improve commenting commit deaafcf Author: Victor Bertin <[email protected]> Date: Mon Jan 29 13:48:14 2024 +0100 Set status line theme to the global colorscheme (#600) commit 2510c29 Author: Sreejith I V <[email protected]> Date: Wed Jan 10 20:06:33 2024 +0530 Removed duplicate line (#583) commit 60b93c9 Author: Damjan 9000 <[email protected]> Date: Mon Jan 8 20:44:00 2024 +0100 README.md: rename the duplicate "Introduction" to "Getting Started" (#572) Changing this second "Introduction" heading to "Getting Started" The recent change in README which moved the youtube link from FAQ to it's own section used the heading "Introduction" which is already the first heading in the file. commit c11afa2 Author: Mohamad Alamin Yassin <[email protected]> Date: Mon Jan 8 20:17:01 2024 +0300 Add Missing Fields to Treesitter Config to Resolve Warnings (#582) This commit introduces three additional fields - `sync_install`, `ignore_install`, and `modules` - to the Treesitter configuration. This update is aimed at resolving warnings that were previously displayed, potentially causing confusion or frustration for new users of Neovim. By explicitly defining these fields, the configuration aligns better with the latest `nvim-treesitter` requirements. commit c4055a2 Author: Damjan 9000 <[email protected]> Date: Wed Jan 3 18:30:37 2024 +0100 Improve stylua github workflow (#571) Addressing issue nvim-lua/kickstart.nvim#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout commit d45e5fe Author: gitressa <[email protected]> Date: Wed Jan 3 16:03:23 2024 +0100 Move video up on the README.md page (#563) To help new users get started, how about moving the video link ("Effective Neovim: Instant IDE ") right after "Post Installation"? This way new users, can install it, and right away proceed to learn how to use it. commit 4d0dc8d Author: John Pekcan <[email protected]> Date: Sat Dec 23 20:59:59 2023 -0800 fix: restore mason config timing for dap startup (#555) Co-authored-by: John Pekcan <[email protected]> commit e39a8bc Author: Ari Pollak <[email protected]> Date: Thu Dec 21 15:35:28 2023 -0500 Switch cmp up mapping from C-d to C-b to match regular vim up key (#549) commit 76c5b1e Author: Shashwat Agrawal <[email protected]> Date: Fri Dec 8 18:44:06 2023 +0530 feat(cmp): path completion feature (#536)
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua/kickstart.nvim#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719453523 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719453397 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719453384 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719453214 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719452863 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719452726 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719452707 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719452565 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719448181 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444786 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444742 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444702 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444661 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444646 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444631 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444561 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444534 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444522 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444509 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444238 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444221 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444186 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444146 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719444003 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443988 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443960 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443945 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443934 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443846 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443659 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443623 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443598 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443531 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443432 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443317 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443286 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443259 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719443057 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719442988 -0700 parent a12b2aa author badaniya <[email protected]> 1719344232 -0700 committer badaniya <[email protected]> 1719442796 -0700 Merge commit 'a12b2aa9b7de122f70e52cc7d05f130e6e88c39a' as 'tmux/.tmux/plugins/tmux-sensible' 1.0.0: Add dotfile configs for tmux, bash, zsh, nvim, vim, emacs. 1.0.0: Attempting git subtree with nvim config. Attempting to stablize the parent worktree init: kickstart.nvim license Fixed spelling error and missing marker Removes extra space between "- Annotation" -> "-Annotation" Fix typo in help reference Disable telemetry for sumneko lua lsp Don't pass args to vim.lsp.buf.format/formatting Args passed by nvim_buf_create_user_command to the callback creates errors with rust-analyzer on nvim 0.7.x and vim.lsp.buf.formatting. Move Telescope from master to 0.1.x branch Follow Telescope's README suggestion and use 0.1.x branch instead of master Added cpp to treesitter and ordered TS imports Replace nvim-lsp-installer with mason.nvim fix nvim-treesitter-textobjects install warning lsp.update_ is deprecated fix: syntax highlights tree-sitter - `navarasu/onedark.nvim` support both API TS* and the new one @* - `mjlbach/onedark.nvim` is archived and not support new syntax reformat to reduce merge conflicts and add fidget Add optional packer plugins hook (#20) * Add optional packer plugins hook * Provide help in README and simplify module * Fix spelling and tweak verbiage about after/plugin Enable parameter text objects (#36) This seems like a natural addition. In classic Vim, I used to use https://github.com/b4winckler/vim-angry for this. enh(treesitter): add help into ensure_installed (#39) closes nvim-lua/kickstart.nvim#38 fixup: add gitignore and style small changes to default mappings (#41) Closes #46 Fix error on Windows when space in install path (#64) fix: don't check third party for Lua LSP (#57) * fix: don't check third party for Lua LSP Co-authored-by: Sean <[email protected]> Co-authored-by: TJ DeVries <[email protected]> Co-authored-by: Sean <[email protected]> Update issue templates (#72) remove python indent: closes #78 move server config to easy to extend style (#71) Move servers to new configuration style. I will probably cover this in a new shorter video, or maybe in combination with something else. This should hopefully remove getting so many people making issues about LSPs that they don't want to. I can update documentation if what is happening is not clear. Prevent multiple language servers from being spawned after every file save of init.lua (#96) * Prevent multiple language servers from being spawned Prevent multiple language servers from being spawned after every save of init.lua, which eventually leads to high RAM usage and system freeze. * Supress error messages add `silent!` in case of error message when nvim-lspconfig is not installed added vim to tree-sitter's ensured installed list (#110) please refer to nvim-treesitter/nvim-treesitter#3092 feat: move to lazy.nvim package manager and add first plugins (#178) Closes #175 Closes #177 Closes #173 Closes #169 Closes #161 Closes #144 Closes #138 Fixes #136 Closes #137 Closes #131 Closes #117 Closes #130 Closes #115 Closes #86 Closes #105 Closes #70 Fixes #176 Fixes #174 Fixes #160 Fixes #158 feat: Add clipboard sync by default (#166) added descriptions to Diagnostic keymaps (#191) * Update init.lua * Update init.lua help treesitter module has been renamed to vimdoc in master (#248) fix: use :TSInstall on build with nvim-treesitter (#261) mason nvim dap 2.0 removed setup_handlers() (#258) minor modifications on the issue template (#244) * use real markdown headers for section titles * add a newline after the initial comment for readability * make hint indications comments fix: move the Mason setup time forward from before (#210) This commit fix the Mason [#1045](williamboman/mason.nvim#1045) issue. Quickly set up Mason to avoid DAP-related startup error messages. Dapui.toggle is added setup a standard binding for searching git files using telescope Added disconnect emoji for nvim-dap-ui Add <C-n>, <C-p> mappings to nvim-cmp setup Udated tree sitter to use latest release branch change luasnip tab jumping to locally jumpable add local jumping to shift tab Adding [+c and ]+c to move to diffs and leader+ph to show a pop up with the preview diff value. Feat: Simplifying code FIX: Updating command description. Added friendly snippet support refact: stylua refact: add cmp comments, other refact: remove after/ reference in readme, other clean-up items FIX: Conflict with vimdiff keybinding Refactor theme and status line into their own file Revert "Refactor theme and status line into their own file" This reverts commit cdaa750. Fixes #336 - Enabale treesitter indent for Python Tested in my local configuratoin. Indenting works great. Add legacy tag to fidget to avoid deprecation warning Fix typo in ignorecase comment In order to perform a case-sensitive search with ignorecase, the pattern should contain `\C` instead of `/C`. Add descriptions for debugging keybindings. Add descriptions for debugging key bindings. Improve formatting by changing double quotes to single quotes in order to keep compatibility with the rest of the kickstart.nvim project. Use call_parentheses Make init.lua copy-paste friendly Remove timeout setup more language servers i use + allow customizing filetypes Fix bug when server not explicitely defined in configuration but installed Fix typo in init.lua releated -> related fix(init): turn telescope-fzf-native into a dependecy fix: fix brackets fix: missing comma Update init.lua added a URL to the lua-guide may help others who miss the :help lua-guide treesitter: ensure 'javascript' installed along with typescript and tsx This parser is actually needed for some *JSX* parsing, and since typescript and tsx are already getting installed, it makes sense to also install the javascript parser. Add telescope search resume key binding Revert gitsigns keymaps but fix vimdiff and fugitive conflict Originally, the keymaps for jumping to next and previous git hunks were ]c and [c. This was changed in #323 (83b65a1) because they overwrote the built-in vimdiff keymaps. However, the more traditional solution is to have ]c and [c *extend* the built-in keymap. This is what fugitive and gitgutter have been doing for years. Gitsigns doesn't do this by itself, but it has a recommended keymap configuration on which the present patch is based: https://github.com/lewis6991/gitsigns.nvim#keymaps The only thing I've added is to have the keymaps work in visual mode as well, which is the same behavior as the built in vimdiff keymaps. Use telescope for goto implementation Update init.lua Fix typo in original. Co-authored-by: Luis G Estrades <[email protected]> Remove extra "r" Search Resume description Remove lazy-lock.json from .gitignore fix(init.lua): indent blankline v3 setup fix: fix indent-blankline config Add documentation for custom which-key groups Fix git clone instruction - separate code blocks for Windows and UNIX. Defer Treesitter setup to improve startup time of nvim {filename} Fix Mason setup issue and run stylua. Move mason setup up further This helps if a user needs to find a mason executable remove spaces in empty lines docs: fix misstype on README.md Fix bash errors Fix help for indent-blankline plugin Since version 3 `:help indent_blankline` no longer works. Replace it with `:help ibl`. feat(lsp): use Telescope builtin functions for LSP definition and type definition Update README Post Installation steps Change the recommendation to just run nvim normally instead of the headless mode for the first run. This will show Lazy UI updating the plugins which would match what the video show and may be easier to understand what is going on thant the silent headless run. add Telescope live_grep on Git root change keymap to not disrupt existing users of Search by Grep Live Grep from Git root falls back to cwd on special buffers init.lua: move diagnostic keymaps together with other keymaps init.lua: minor edits of section comments for consistency fix(auto-completion): ensure first menu item is selected by default init.lua: remove 'legacy' tag from fidget.nvim option to reduce noisy Lua_LS's missing-fields warnings (#511) Add a github action on pull request to check lua formatting (#526) GitHub Action used: https://github.com/marketplace/actions/stylua This runs `stylua --check` on a PR and it will show success or failure. The suggested stylua changes can be inspected when clicking on the details. The PR can still be merged even if the check fails. Run stylua (#525) Add gitsigns recommended keymaps (#531) * Import gitsigns README.md recommended keymaps (and apply stylua) the previously added visual mode for ]c [c is kept. * Add gitsigns keymap descriptions Adds two essential telescope keymaps (#528) * Added keymap for select Telescope picker * Added keymap for search in all open files feat(cmp): path completion feature (#536) Switch cmp up mapping from C-d to C-b to match regular vim up key (#549) fix: restore mason config timing for dap startup (#555) Co-authored-by: John Pekcan <[email protected]> Improve stylua github workflow (#571) Addressing issue nvim-lua/kickstart.nvim#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout Add Missing Fields to Treesitter Config to Resolve Warnings (#582) This commit introduces three additional fields - `sync_install`, `ignore_install`, and `modules` - to the Treesitter configuration. This update is aimed at resolving warnings that were previously displayed, potentially causing confusion or frustration for new users of Neovim. By explicitly defining these fields, the configuration aligns better with the latest `nvim-treesitter` requirements. Removed duplicate line (#583) Set status line theme to the global colorscheme (#600) Add Onedark Style (#590) * Add style options to Onedark setup (init.lua) * stylua init.lua * Load onedark through `require` * Improve commenting issue: #594 stylua workflow only on official kickstart repo (#609) Only run the github stylua workflow check on the official kickstart repo (nvim-lua/kickstart.nvim) so that it's not enforced on any other forks. As suggested by: @zwergius feat: added contexts for code action - source fix-all errors (#599) * feat: added contexts for code action - source fix-all errors * fix: resolve stylua checks * fix: resolve stylua checks Add Build Step to LuaSnip (#611) rewrite: slimmer, trimmer and more lazy kickstart.nvim (#635) We've removed over 1/3 of the code that was in kickstart previously, and more than doubled the amount of comments explaining every line of code (to the best of my ability). kickstart now properly uses many of the lazy.nvim config and loading idioms, which should be really helpful for people moving both to modular configs, as well as extending the kickstart config in one file. Additional features: - Beautiful ascii art - Added some documentation that explains what is an LSP, what is telescope, etc - There is now a `:checkhealth` for kickstart, which checks some basic information and adds useful information for maintainers (for people cloning the repo). - Improved LSP configuration and tool installation, for easier first time startup - Changed init.lua ordering, so that it moves from simple options to complicated config ``` ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- Lua 1 108 404 298 ------------------------------------------------------------------------------- ``` fixup: add autocommand link for help and description fixup: change comment to reflect auto_install add plugin specs docstring, remove lazy.nvim configuration (empty) table (#652) Change mini.statusline location format to LINE:COLUMN (#659) Default mini.statusline location format is: 'cursor line | total lines │ cursor column | total columns' fixup: updated some style stuff feat: enable lua lsp snipppets (#660) chore: fix typos (#666) feat: use VimEnter event instead of VeryLazy (#673) README.md: updated windows install instructions (#674) fix: checkhealth reported nvim version (#685) Change statusline location to LINE:COLUMN (#689) chore: remove trailing spaces from readme (#679) Add more detail to colorscheme comment (#713) Make the Nerd Font an optional requirement (#716) Fix typos and whatnot (#731) use init for colorscheme (#715) feat: allow treesitter defaults to be overwritten from custom directory (#732) chore: rename <C-T> to <C-t> for consistency (#719) Added folke/neodev.nvim for proper nvim api completion and annotation (#754) Fixes nvim-lua/kickstart.nvim#692 `neodev` configures Lua LSP for your Neovim config, runtime and plugins used for completion, annotations and signatures of Neovim apis With neodev, there's no more need to manually set lua_ls workspace settings which don't seem to work properly anyway as currently nvim api completion does not work. Use `cmp-nvim-lua` as `nvim-cmp` source for neovim Lua API (#696) * Use cmp-nvim-lua as nvim-cmp source for neovim Lua API * Move the dependency to a more suitable place Revert "Use `cmp-nvim-lua` as `nvim-cmp` source for neovim Lua API (#696)" (#755) This reverts commit d8a1dbc. doc: add info about timeoutlen (#691) Add separate comment for `timeoutlen` option `timeoutlen` option was under unrelated comment with `updatetime` option. Add <C-b>/<C-f> cmp mapping to scroll cmp docs (#750) Move friendly snippets to dependencies of LuaSnip (#759) Co-authored-by: TJ DeVries <[email protected]> doc: add note about advanced luasnip features fix: disable ts indenting for Ruby Tree-sitter indenting for ruby is pretty terrible. But the fix requires a few steps, so showed those and documented how you could do that for other languages as well (with the tricky part being the additional_vim_regex_highlighting trick) conform: disable autoformat on save for specified filetypes (#694) Provide a method to disable autoformat on save lsp fallback for specified filetypes. By default disable for C/C++ as an example, because it does not have a well standardized coding style. Based on conform recipe: https://github.com/stevearc/conform.nvim/blob/master/doc/recipes.md assign table to filetype in lua_ls config comment (#770) feat: add linter plugin (#699) Some suggestions and capitalised a few words (#771) Add nvim-nio as dependency for nvim-dap-ui (#774) It's a dependency now fix #799 (#800) Add `'luadoc'`, to the `ensure_installed` of `nvim-treesitter/nvim-treesitter` Add a keymap space-f to format buffer using conform (#817) This works also for visual range selection Copied from conform recipe: https://github.com/stevearc/conform.nvim/blob/master/doc/recipes.md Don't lazy load conform plugin (#818) Add a pull request template (#825) Comment about nerd font selection. Fixes #853 (#854) Fix: #847 - add prefer_git to treesitter config (#856) Enable inlay hints for the supporting servers (#843) Move plugin examples from README to optional plugin files (#831) * Move autopairs example from README to an optional plugin * Move neo-tree example from README to an optional plugin Add gitsigns recommended keymaps as an optional plugin (#858) fix: restore Mason config timing for DAP startup (again) (#865) Minor improvements of debian install instructions. Fixes #859 (#869) Add a commented out example of the classic complete keymaps. Fixes #866 (#868) Fix deprecation notice of inlay hints (#873) Fix highlight errors when lsp crash or stop (#864) * Fix highlight errors when lsp crash or stop It adds a check wether the client is still available before highlighting. If the client is not there anymore it returns `true` to unregister the autocommand This fix the `method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer` errors when doing a LspRestart or the server crashes * Delete the highlight autocommands in the LspDetatch event * Only delete autocmds for the current buffer with the group name * Simplify clearing the autocommands --------- Co-authored-by: Francis Belanger <[email protected]> fix: highlight group clear on each attach (#874) Move LspDetach handler near kickstart-lsp-highlight group (#900) Moved to make sure the kickstart-lsp-highlight group exists when the LspDetach handler is invoked. The LspDetach handler is used to clean up any lsp highlights that were enabled by CursorHold if the LSP is stopped or crashed. Add diff to treesitter's ensure_installed languages (#908) fix: debug.lua (#918) Automatically set detached state as needed. (#925) * Automatically set detached state as needed. * Use vim.fn.has instead. * Fix int vs bool. 1.0.0: Enabled tabs, indent lines, and debugging. 1.0.0: Enable SQL DB UI plugin 1.0.0: Remap debugging function keys. Attempting to stablize the parent worktree pt 3. Squashed 'zsh/.oh-my-zsh/' content from commit ef7e3f2 git-subtree-dir: zsh/.oh-my-zsh git-subtree-split: ef7e3f2 Squashed 'vim/.vim/plugged/ferret/' content from commit 0190acf2 git-subtree-dir: vim/.vim/plugged/ferret git-subtree-split: 0190acf27440d9f5acd67582bdb1a2b55f31c51a Squashed 'vim/.vim/plugged/lightline.vim/' content from commit 58c97bc2 git-subtree-dir: vim/.vim/plugged/lightline.vim git-subtree-split: 58c97bc21c6f657d3babdd4eefce7593e30e75ce Squashed 'vim/.vim/plugged/nerdtree/' content from commit fbb71fcd git-subtree-dir: vim/.vim/plugged/nerdtree git-subtree-split: fbb71fcd90602e3ec77f40b864b5f9b437c496c5 Squashed 'vim/.vim/plugged/nerdtree-git-plugin/' content from commit e1fe7271 git-subtree-dir: vim/.vim/plugged/nerdtree-git-plugin git-subtree-split: e1fe727127a813095854a5b063c15e955a77eafb Squashed 'vim/.vim/plugged/vim-fugitive/' content from commit 64d6cafb git-subtree-dir: vim/.vim/plugged/vim-fugitive git-subtree-split: 64d6cafb9dcbacce18c26d7daf617ebb96b273f3 Squashed 'vim/.vim/plugged/vim-go/' content from commit a64d097a1 git-subtree-dir: vim/.vim/plugged/vim-go git-subtree-split: a64d097a1af1772c24d13f34529b9be2a34b7721 Squashed 'vim/.vim/plugged/vim-gitgutter/' content from commit e80137191 git-subtree-dir: vim/.vim/plugged/vim-gitgutter git-subtree-split: e801371917e52805a4ceb1e93f55ed1fba712f82 Update README.md Squashed 'zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/' content from commit e0165ea git-subtree-dir: zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting git-subtree-split: e0165eaa730dd0fa321a6a6de74f092fe87630b0 Squashed 'zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions/' content from commit c3d4e57 git-subtree-dir: zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions git-subtree-split: c3d4e576c9c86eac62884bd47c01f6faed043fc5 Squashed 'zsh/.oh-my-zsh/custom/plugins/zsh-cwd/' content from commit c718a5e git-subtree-dir: zsh/.oh-my-zsh/custom/plugins/zsh-cwd git-subtree-split: c718a5e6e2762b43f6d260ae9e374e63b755c25c nvim: Add keymapping for a vertial terminal split Update README.md Update README.md Update README.md Squashed 'tmux/.tmux/plugins/tpm/' content from commit 99469c4 git-subtree-dir: tmux/.tmux/plugins/tpm git-subtree-split: 99469c4a9b1ccf77fade25842dc7bafbc8ce9946 Update README.md Update README.md tmux: Start windows and panes at index 1 instead of 0. zsh: Fix auto suggestion greyed out text in tmux nvim: Setup barbar plugin tabs with key bindings. zsh: remove cwd call in zshrc. nvim: Add project workdir intelligence. tmux: fix italics in tmux terminal. nvim: Setup sensible default go test options for vim-test. nvim: Setup undotree on the right-hand side nvim: Move undotree global configs to sql plugin instead of main init nvim: Trying out DB UI shortcut for foreign keys tmux: cleanup catppuccin plugin tmux: clean up vim-tmux-mavigator tmux: Add workaround for cappuccin theme with older tmux version 3.0a... with link ref Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md tmux: Add tmux-resurrect plugin for restoring tmux sessions Squashed 'tmux/.tmux/plugins/tmux-resurrect/' content from commit cff343c git-subtree-dir: tmux/.tmux/plugins/tmux-resurrect git-subtree-split: cff343cf9e81983d3da0c8562b01616f12e8d548 Update README.md Update README.md Update README.md Update README.md Update README.md nvim: Plugin to allow restoring nvim sessions Update nested_git_repos.md tmux: enable vim/nvim session save/restore. Update nested_git_repos.md tmux: add pane restoration tmux: Add tmux-continuum plugin for auto save Squashed 'tmux/.tmux/plugins/tmux-continuum/' content from commit 0698e8f git-subtree-dir: tmux/.tmux/plugins/tmux-continuum git-subtree-split: 0698e8f4b17d6454c71bf5212895ec055c578da0 Update nested_git_repos.md tmux: Enable tmux-continuum for auto save and restore on boot nvim: Ignore Session.vim file from obesession nvim persistence nvim: Use nvim procession wrapper around obsession for nvim persistence Update README.md tmux: Realign tmux statusline so that session name is always visible tmux: Only enable ressurect for nvim bash: Cleanup profile and aliases bash/zsh: cleanup functions bash: cleanup functions bash: cleanup profile bash: cleanup aliases
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Fixed spelling error and missing marker Removes extra space between "- Annotation" -> "-Annotation" Fix typo in help reference Disable telemetry for sumneko lua lsp Remove reference to wiki that doesn't exist Closes nvim-lua#3 Don't pass args to vim.lsp.buf.format/formatting Args passed by nvim_buf_create_user_command to the callback creates errors with rust-analyzer on nvim 0.7.x and vim.lsp.buf.formatting. Move Telescope from master to 0.1.x branch Follow Telescope's README suggestion and use 0.1.x branch instead of master Added cpp to treesitter and ordered TS imports Replace nvim-lsp-installer with mason.nvim fix nvim-treesitter-textobjects install warning Update README.md Use links to tagged releases rather than hardcoding 0.x and having to change it every few months. Fix markdownlint errors and some spelling, like using the official 'Neovim', not 'neovim'. lsp.update_ is deprecated fix: syntax highlights tree-sitter - `navarasu/onedark.nvim` support both API TS* and the new one @* - `mjlbach/onedark.nvim` is archived and not support new syntax reformat to reduce merge conflicts and add fidget Add optional packer plugins hook (nvim-lua#20) * Add optional packer plugins hook * Provide help in README and simplify module * Fix spelling and tweak verbiage about after/plugin Update the amount of SLOC in README (nvim-lua#35) Looks like the project has grown a tad bit :sweat Enable parameter text objects (nvim-lua#36) This seems like a natural addition. In classic Vim, I used to use https://github.com/b4winckler/vim-angry for this. add more explicit note about latest versions of nvim enh(treesitter): add help into ensure_installed (nvim-lua#39) closes nvim-lua#38 fixup: add gitignore and style small changes to default mappings (nvim-lua#41) Closes nvim-lua#46 note: tell people to remove languages they arent going to use Fix error on Windows when space in install path (nvim-lua#64) fix: don't check third party for Lua LSP (nvim-lua#57) * fix: don't check third party for Lua LSP Co-authored-by: Sean <[email protected]> Co-authored-by: TJ DeVries <[email protected]> Co-authored-by: Sean <[email protected]> Update issue templates (nvim-lua#72) Update intstructions for existing nvim setups (nvim-lua#65) * Update intstructions for existing nvim setups If you already had a nvim setup, then this makes it so that the kickstarter can work without a problem. Having that file exist and loaded with plugins gives the script many issues. Also better to have it be a shell command rather than have the script delete a bunch of files on your computer. remove python indent: closes nvim-lua#78 move server config to easy to extend style (nvim-lua#71) Move servers to new configuration style. I will probably cover this in a new shorter video, or maybe in combination with something else. This should hopefully remove getting so many people making issues about LSPs that they don't want to. I can update documentation if what is happening is not clear. Adding cmake documentation to README.md (nvim-lua#85) Prevent multiple language servers from being spawned after every file save of init.lua (nvim-lua#96) * Prevent multiple language servers from being spawned Prevent multiple language servers from being spawned after every save of init.lua, which eventually leads to high RAM usage and system freeze. * Supress error messages add `silent!` in case of error message when nvim-lspconfig is not installed added vim to tree-sitter's ensured installed list (nvim-lua#110) please refer to nvim-treesitter/nvim-treesitter#3092 Add windows init lua location (nvim-lua#121) * feat: add init.lua location fir Windows * feat: more specific number of lines feat: move to lazy.nvim package manager and add first plugins (nvim-lua#178) Closes nvim-lua#175 Closes nvim-lua#177 Closes nvim-lua#173 Closes nvim-lua#169 Closes nvim-lua#161 Closes nvim-lua#144 Closes nvim-lua#138 Fixes nvim-lua#136 Closes nvim-lua#137 Closes nvim-lua#131 Closes nvim-lua#117 Closes nvim-lua#130 Closes nvim-lua#115 Closes nvim-lua#86 Closes nvim-lua#105 Closes nvim-lua#70 Fixes nvim-lua#176 Fixes nvim-lua#174 Fixes nvim-lua#160 Fixes nvim-lua#158 feat: Add clipboard sync by default (nvim-lua#166) docs: change telescope fzf native to lazy syntax (nvim-lua#185) Update instructions for neo-tree set up (nvim-lua#200) For me, setting this variable in the config function didn't work. Putting it outside the return block did the trick. added descriptions to Diagnostic keymaps (nvim-lua#191) * Update init.lua * Update init.lua help treesitter module has been renamed to vimdoc in master (nvim-lua#248) fix: use :TSInstall on build with nvim-treesitter (nvim-lua#261) mason nvim dap 2.0 removed setup_handlers() (nvim-lua#258) minor modifications on the issue template (nvim-lua#244) * use real markdown headers for section titles * add a newline after the initial comment for readability * make hint indications comments Correct command for neo-tree (nvim-lua#216) fix: move the Mason setup time forward from before (nvim-lua#210) This commit fix the Mason [nvim-lua#1045](williamboman/mason.nvim#1045) issue. Quickly set up Mason to avoid DAP-related startup error messages. Fix typo "documention" into "documentation" (nvim-lua#209) Dapui.toggle is added setup a standard binding for searching git files using telescope Added disconnect emoji for nvim-dap-ui Update README.md Update README.md Update README.md Should fix the win paths I fear adding bits like "Your paths may differ, these are just for reference." but the core behind the kickstart is getting "noobs" past big hurdles fast. This however means things need to be super spoon fed or basic things like not understanding relative paths and such might end up right where things started...ambiguous to some user instructions because they don't understand they need to know certain things because this is supposed to help them bypass knowing that for now...and the snake eats its tail. :) Fixed Windows style path for home Hmmm Tested on a win10VM for location and such because I remembered %appdata% should be a thing but it's the wrong location and the win MSI creates nvim-data rather than just nvim. Then I noticed my previous changes weren't all saved...so here I go again heh. Update README.md ARG! My browser should not be caching yet github seems to fight some changes. I'm also still unable to see why the formatting (line height) differs between the Archive Install section and the Git Clone Install section. Hopefully this will at least save the correct changes to the Win stuff. Update README.md Tiny wording changes I requested from nvim-lua#283 corrected git clone command Add <C-n>, <C-p> mappings to nvim-cmp setup Udated tree sitter to use latest release branch change luasnip tab jumping to locally jumpable add local jumping to shift tab Adding [+c and ]+c to move to diffs and leader+ph to show a pop up with the preview diff value. Feat: Simplifying code FIX: Updating command description. Added friendly snippet support refact: stylua Update README.md Fix for nvim-lua#314 - there's no -data at the end of the nvim dir. refact: add cmp comments, other refact: remove after/ reference in readme, other clean-up items fix(docs): update windows path to a correct folder Update README.md fix(docs): whoops missed another instance of `nvim-data` FIX: Conflict with vimdiff keybinding Refactor theme and status line into their own file Revert "Refactor theme and status line into their own file" This reverts commit cdaa750. Fixes nvim-lua#336 - Enabale treesitter indent for Python Tested in my local configuratoin. Indenting works great. Add legacy tag to fidget to avoid deprecation warning Fix typo in ignorecase comment In order to perform a case-sensitive search with ignorecase, the pattern should contain `\C` instead of `/C`. Add descriptions for debugging keybindings. Add descriptions for debugging key bindings. Improve formatting by changing double quotes to single quotes in order to keep compatibility with the rest of the kickstart.nvim project. Use call_parentheses correct typo Hey y'all 👋 I think there may have been a typo? Make init.lua copy-paste friendly docs: Update README.md 📚 Remove timeout Add hint to uncomment line to autodetect plugins Remove fixed line number and describe line setup more language servers i use + allow customizing filetypes Fix bug when server not explicitely defined in configuration but installed Fix typo in init.lua releated -> related fix(init): turn telescope-fzf-native into a dependecy fix: fix brackets fix: missing comma Update init.lua added a URL to the lua-guide may help others who miss the :help lua-guide Fix typo in README.md treesitter: ensure 'javascript' installed along with typescript and tsx This parser is actually needed for some *JSX* parsing, and since typescript and tsx are already getting installed, it makes sense to also install the javascript parser. Add telescope search resume key binding Revert gitsigns keymaps but fix vimdiff and fugitive conflict Originally, the keymaps for jumping to next and previous git hunks were ]c and [c. This was changed in nvim-lua#323 (83b65a1) because they overwrote the built-in vimdiff keymaps. However, the more traditional solution is to have ]c and [c *extend* the built-in keymap. This is what fugitive and gitgutter have been doing for years. Gitsigns doesn't do this by itself, but it has a recommended keymap configuration on which the present patch is based: https://github.com/lewis6991/gitsigns.nvim#keymaps The only thing I've added is to have the keymaps work in visual mode as well, which is the same behavior as the built in vimdiff keymaps. Use telescope for goto implementation Update init.lua Fix typo in original. Co-authored-by: Luis G Estrades <[email protected]> docs: restructure README docs: remove archive installation Remove extra "r" Search Resume description Remove lazy-lock.json from .gitignore fix(init.lua): indent blankline v3 setup fix: fix indent-blankline config Add documentation for custom which-key groups Fix git clone instruction - separate code blocks for Windows and UNIX. Defer Treesitter setup to improve startup time of nvim {filename} Fix Mason setup issue and run stylua. Move mason setup up further This helps if a user needs to find a mason executable remove spaces in empty lines docs: fix misstype on README.md Fix bash errors Fix help for indent-blankline plugin Since version 3 `:help indent_blankline` no longer works. Replace it with `:help ibl`. feat(lsp): use Telescope builtin functions for LSP definition and type definition Update README Post Installation steps Change the recommendation to just run nvim normally instead of the headless mode for the first run. This will show Lazy UI updating the plugins which would match what the video show and may be easier to understand what is going on thant the silent headless run. README.md: add a note about NVIM_APPNAME in the FAQ section README.md: Added a FAQ: why is init.lua a single file Update README.md Added information on where to install if you use Powershell in windows. Since CMD and Powershell work differently. `%userprofile%` only works for the CMD application. `$env:USERPROFILE` works in Powershell. add Telescope live_grep on Git root change keymap to not disrupt existing users of Search by Grep Live Grep from Git root falls back to cwd on special buffers init.lua: move diagnostic keymaps together with other keymaps init.lua: minor edits of section comments for consistency fix(auto-completion): ensure first menu item is selected by default init.lua: remove 'legacy' tag from fidget.nvim option to reduce noisy Lua_LS's missing-fields warnings (nvim-lua#511) Update README.md (nvim-lua#520) README.md: update install section formatting (nvim-lua#523) Use alias instead of a wrapper script (nvim-lua#524) It is much easier to stick an alias statement in `~/.{z,ba}shrc` than create a script, invoke another instance of interpreter and then run neovim Add a github action on pull request to check lua formatting (nvim-lua#526) GitHub Action used: https://github.com/marketplace/actions/stylua This runs `stylua --check` on a PR and it will show success or failure. The suggested stylua changes can be inspected when clicking on the details. The PR can still be merged even if the check fails. Run stylua (nvim-lua#525) Add gitsigns recommended keymaps (nvim-lua#531) * Import gitsigns README.md recommended keymaps (and apply stylua) the previously added visual mode for ]c [c is kept. * Add gitsigns keymap descriptions Adds two essential telescope keymaps (nvim-lua#528) * Added keymap for select Telescope picker * Added keymap for search in all open files feat(cmp): path completion feature (nvim-lua#536) Switch cmp up mapping from C-d to C-b to match regular vim up key (nvim-lua#549) fix: restore mason config timing for dap startup (nvim-lua#555) Co-authored-by: John Pekcan <[email protected]> Move video up on the README.md page (nvim-lua#563) To help new users get started, how about moving the video link ("Effective Neovim: Instant IDE ") right after "Post Installation"? This way new users, can install it, and right away proceed to learn how to use it. Improve stylua github workflow (nvim-lua#571) Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout Add Missing Fields to Treesitter Config to Resolve Warnings (nvim-lua#582) This commit introduces three additional fields - `sync_install`, `ignore_install`, and `modules` - to the Treesitter configuration. This update is aimed at resolving warnings that were previously displayed, potentially causing confusion or frustration for new users of Neovim. By explicitly defining these fields, the configuration aligns better with the latest `nvim-treesitter` requirements. README.md: rename the duplicate "Introduction" to "Getting Started" (nvim-lua#572) Changing this second "Introduction" heading to "Getting Started" The recent change in README which moved the youtube link from FAQ to it's own section used the heading "Introduction" which is already the first heading in the file. Removed duplicate line (nvim-lua#583) Set status line theme to the global colorscheme (nvim-lua#600) Add Onedark Style (nvim-lua#590) * Add style options to Onedark setup (init.lua) * stylua init.lua * Load onedark through `require` * Improve commenting issue: nvim-lua#594 stylua workflow only on official kickstart repo (nvim-lua#609) Only run the github stylua workflow check on the official kickstart repo (nvim-lua/kickstart.nvim) so that it's not enforced on any other forks. As suggested by: @zwergius feat: added contexts for code action - source fix-all errors (nvim-lua#599) * feat: added contexts for code action - source fix-all errors * fix: resolve stylua checks * fix: resolve stylua checks Fixes nvim-lua#607. Add hints for new neovim users to learn how to learn. (nvim-lua#615) Add Build Step to LuaSnip (nvim-lua#611) rewrite: slimmer, trimmer and more lazy kickstart.nvim (nvim-lua#635) We've removed over 1/3 of the code that was in kickstart previously, and more than doubled the amount of comments explaining every line of code (to the best of my ability). kickstart now properly uses many of the lazy.nvim config and loading idioms, which should be really helpful for people moving both to modular configs, as well as extending the kickstart config in one file. Additional features: - Beautiful ascii art - Added some documentation that explains what is an LSP, what is telescope, etc - There is now a `:checkhealth` for kickstart, which checks some basic information and adds useful information for maintainers (for people cloning the repo). - Improved LSP configuration and tool installation, for easier first time startup - Changed init.lua ordering, so that it moves from simple options to complicated config ``` ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- Lua 1 108 404 298 ------------------------------------------------------------------------------- ``` fixup: add autocommand link for help and description fixup: change comment to reflect auto_install add plugin specs docstring, remove lazy.nvim configuration (empty) table (nvim-lua#652) Change mini.statusline location format to LINE:COLUMN (nvim-lua#659) Default mini.statusline location format is: 'cursor line | total lines │ cursor column | total columns' fixup: updated some style stuff feat: enable lua lsp snipppets (nvim-lua#660) chore: fix typos (nvim-lua#666) feat: use VimEnter event instead of VeryLazy (nvim-lua#673) README.md: updated windows install instructions (nvim-lua#674) fix: add note in readme for custom plugins fix: checkhealth reported nvim version (nvim-lua#685) Change statusline location to LINE:COLUMN (nvim-lua#689) chore: remove trailing spaces from readme (nvim-lua#679) chore: link new installation youtube video (nvim-lua#678) Add more detail to colorscheme comment (nvim-lua#713) Make the Nerd Font an optional requirement (nvim-lua#716) Fix typos and whatnot (nvim-lua#731) use init for colorscheme (nvim-lua#715) README.md: update neo-tree example - remove legacy setting (nvim-lua#744) feat: allow treesitter defaults to be overwritten from custom directory (nvim-lua#732) chore: rename <C-T> to <C-t> for consistency (nvim-lua#719) Added folke/neodev.nvim for proper nvim api completion and annotation (nvim-lua#754) Fixes nvim-lua#692 `neodev` configures Lua LSP for your Neovim config, runtime and plugins used for completion, annotations and signatures of Neovim apis With neodev, there's no more need to manually set lua_ls workspace settings which don't seem to work properly anyway as currently nvim api completion does not work. Use `cmp-nvim-lua` as `nvim-cmp` source for neovim Lua API (nvim-lua#696) * Use cmp-nvim-lua as nvim-cmp source for neovim Lua API * Move the dependency to a more suitable place Revert "Use `cmp-nvim-lua` as `nvim-cmp` source for neovim Lua API (nvim-lua#696)" (nvim-lua#755) This reverts commit d8a1dbc. doc: add info about timeoutlen (nvim-lua#691) Add separate comment for `timeoutlen` option `timeoutlen` option was under unrelated comment with `updatetime` option. Add <C-b>/<C-f> cmp mapping to scroll cmp docs (nvim-lua#750) Move friendly snippets to dependencies of LuaSnip (nvim-lua#759) Co-authored-by: TJ DeVries <[email protected]> doc: add note about advanced luasnip features fix: disable ts indenting for Ruby Tree-sitter indenting for ruby is pretty terrible. But the fix requires a few steps, so showed those and documented how you could do that for other languages as well (with the tricky part being the additional_vim_regex_highlighting trick) Update README.md (nvim-lua#763) Added file text to code block for consistency since the other plugin had file also inside code block. conform: disable autoformat on save for specified filetypes (nvim-lua#694) Provide a method to disable autoformat on save lsp fallback for specified filetypes. By default disable for C/C++ as an example, because it does not have a well standardized coding style. Based on conform recipe: https://github.com/stevearc/conform.nvim/blob/master/doc/recipes.md README: additional install recipes for various OS (nvim-lua#767) assign table to filetype in lua_ls config comment (nvim-lua#770) feat: add linter plugin (nvim-lua#699) Some suggestions and capitalised a few words (nvim-lua#771) Add nvim-nio as dependency for nvim-dap-ui (nvim-lua#774) It's a dependency now Update README.md (nvim-lua#781) The recommended step of forking the repo coming sequentially after the step instructing users to clone the current repo doesn't make sense. This commit orders the install instructions in a manner that's more logical. README: wrap long lines (nvim-lua#784) fix nvim-lua#799 (nvim-lua#800) Add `'luadoc'`, to the `ensure_installed` of `nvim-treesitter/nvim-treesitter` Add instructions to quit :lazy. Fixes nvim-lua#761 Add a keymap space-f to format buffer using conform (nvim-lua#817) This works also for visual range selection Copied from conform recipe: https://github.com/stevearc/conform.nvim/blob/master/doc/recipes.md Don't lazy load conform plugin (nvim-lua#818) README: move backup and paths from external deps to install section (nvim-lua#819) Add a pull request template (nvim-lua#825) Update README (nvim-lua#832) Arch, btw (nvim-lua#852) * Arch, btw * Add unzip * Add unzip for Fedora and --needed arg for Arch Comment about nerd font selection. Fixes nvim-lua#853 (nvim-lua#854) Fix: nvim-lua#847 - add prefer_git to treesitter config (nvim-lua#856) Enable inlay hints for the supporting servers (nvim-lua#843) Move plugin examples from README to optional plugin files (nvim-lua#831) * Move autopairs example from README to an optional plugin * Move neo-tree example from README to an optional plugin Add gitsigns recommended keymaps as an optional plugin (nvim-lua#858) fix: restore Mason config timing for DAP startup (again) (nvim-lua#865) Update README.md (nvim-lua#860) Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement. Minor improvements of debian install instructions. Fixes nvim-lua#859 (nvim-lua#869) Add a commented out example of the classic complete keymaps. Fixes nvim-lua#866 (nvim-lua#868) Fix deprecation notice of inlay hints (nvim-lua#873) Fix highlight errors when lsp crash or stop (nvim-lua#864) * Fix highlight errors when lsp crash or stop It adds a check wether the client is still available before highlighting. If the client is not there anymore it returns `true` to unregister the autocommand This fix the `method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer` errors when doing a LspRestart or the server crashes * Delete the highlight autocommands in the LspDetatch event * Only delete autocmds for the current buffer with the group name * Simplify clearing the autocommands --------- Co-authored-by: Francis Belanger <[email protected]> fix: highlight group clear on each attach (nvim-lua#874) Update README.md (nvim-lua#875) Line 102. Placed 'also' before the 'includes'. "That includes also examples of adding popularly requested plugins." ---> "That also includes examples of adding popularly requested plugins." README: add clipboard tool dependency (nvim-lua#886) Fixes: nvim-lua#884 Neovim requires an external tool for proper system clipboard integration. Some systems install this already by default: - on Fedora xsel is already installed by default - on Windows using the choko install the win32yank is alredy installed This is not installed by default on ubuntu or debian so adding that to the dependencies list and to the install instructions snippets. Move LspDetach handler near kickstart-lsp-highlight group (nvim-lua#900) Moved to make sure the kickstart-lsp-highlight group exists when the LspDetach handler is invoked. The LspDetach handler is used to clean up any lsp highlights that were enabled by CursorHold if the LSP is stopped or crashed. Add diff to treesitter's ensure_installed languages (nvim-lua#908) fix: debug.lua (nvim-lua#918) Automatically set detached state as needed. (nvim-lua#925) * Automatically set detached state as needed. * Use vim.fn.has instead. * Fix int vs bool.
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua/kickstart.nvim#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Addressing issue nvim-lua#570 This improves the github workflow to no longer require manual approval for PRs from first time contributors. Changes the github event from pull_request to pull_request_target and adds an explicit PR head checkout
Describe the bug
Right now, for every new PR we get, we see:
Pretty sure this wasn't what you were going for with your Stylua github action.
To Reproduce
Submit a PR.
Plan / Design
Please either:
I'm fine with either approach.
Thanks for all your hard work for the project, I really do appreciate all you've done.
The text was updated successfully, but these errors were encountered: