|
8 | 8 | [](https://github.com/greggh/laravel-helper.nvim/issues)
|
9 | 9 | [](https://github.com/neovim/neovim)
|
10 | 10 | [](https://github.com/greggh/laravel-helper.nvim/actions/workflows/ci.yml)
|
11 |
| -[](https://github.com/greggh/laravel-helper.nvim/releases/tag/v0.4.1) |
| 11 | +[](https://github.com/greggh/laravel-helper.nvim/releases/tag/v0.4.2) |
12 | 12 |
|
13 | 13 | *A comprehensive Laravel development environment for Neovim with focus on IDE Helper integration*
|
14 | 14 |
|
@@ -89,6 +89,25 @@ The following plugins provide the enhanced command interface with subcommands an
|
89 | 89 | Without mega.cmdparse, the plugin will fall back to the legacy command interface.
|
90 | 90 | Without telescope.nvim, the plugin will fall back to simple input prompts for Artisan commands.
|
91 | 91 |
|
| 92 | +**Important**: To prevent autocompletion interference in Telescope prompts and artisan output windows, you need to disable completion in these filetypes: |
| 93 | + |
| 94 | +```lua |
| 95 | +-- For blink.cmp users |
| 96 | +require('blink.cmp').setup({ |
| 97 | + -- Other configuration options... |
| 98 | + enabled = function() |
| 99 | + local ignore_filetypes = {"TelescopePrompt", "TelescopeResults", "artisan-output"} |
| 100 | + return not vim.tbl_contains(ignore_filetypes, vim.bo.filetype) |
| 101 | + end, |
| 102 | +}) |
| 103 | + |
| 104 | +-- For nvim-cmp users |
| 105 | +-- Disable for each filetype individually |
| 106 | +require("cmp").setup.filetype("TelescopePrompt", { enabled = false }) |
| 107 | +require("cmp").setup.filetype("TelescopeResults", { enabled = false }) |
| 108 | +require("cmp").setup.filetype("artisan-output", { enabled = false }) |
| 109 | +``` |
| 110 | + |
92 | 111 | ### Recommended Laravel Ecosystem Plugins
|
93 | 112 | For a complete Laravel development environment, we recommend the following plugins:
|
94 | 113 | - [lazy.nvim](https://github.com/folke/lazy.nvim) - Plugin manager
|
|
0 commit comments