Use the plugin with Lazyvim #101
-
I'm trying to configure with Lazyvim but I tried from a fresh Lazyvim installation. checkhealth shows
Both LSP and treesitter are running fine with no warning or errors. I tried with both: My environment:
lua/plugins/laravel.lua (Default config) return {
"adalessa/laravel.nvim",
dependencies = {
"nvim-telescope/telescope.nvim",
"tpope/vim-dotenv",
"MunifTanjim/nui.nvim",
"nvimtools/none-ls.nvim",
},
cmd = { "Sail", "Artisan", "Composer", "Npm", "Yarn", "Laravel" },
keys = {
{ "<leader>la", ":Laravel artisan<cr>" },
{ "<leader>lr", ":Laravel routes<cr>" },
{ "<leader>lm", ":Laravel related<cr>" },
},
event = { "VeryLazy" },
opts = {
features = {
-- lsp_server = "intelephense",
null_ls = {
enable = true,
},
route_info = {
enable = true, --- to enable the laravel.nvim virtual text
position = "right", --- where to show the info (available options 'right', 'top')
middlewares = true, --- wheather to show the middlewares section in the info
method = true, --- wheather to show the method section in the info
uri = true, --- wheather to show the uri section in the info
},
},
},
config = true,
} I'm missing something? Thanks! (I'm not a nvim/vim/lua guru. Thanks for your understanding 😊 ) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Sorry for the late response.
Yes there is no integration for gf for now.
On regards this, in the soon to be release version, available in development I moved away of none-ls to not make people install another dependency, and to make it work in more configuration to work with cmp. |
Beta Was this translation helpful? Give feedback.
Sorry for the late response.
Yes there is no integration for gf for now.
On regards this, in the soon to be release version, available in development I moved away of none-ls to not make people install another dependency, and to make it work in more configuration to work with cmp.
I suggest switch to the branch, there are some breaking changes needing a new dependency, but it comes with more improvements.