Closed MannyFay closed 1 year ago
I have this working in Sublime Text with the following setup:
git clone git@github.com:haringsrob/laravel-dev-tools.git
cp laravel-dev-tools /usr/local/bin/laravel-dev-tools
Then I used the command laravel-dev-tools lsp
instead of laravel-dev-generators lsp
Please use a clone of the project and not the outdated release.
Here is an example:
-- Configure it
configs.blade = {
default_config = {
cmd = { "/Users/rob/.config/lsps/laravel-dev-generators/laravel-dev-tools", "lsp" },
filetypes = { 'blade' },
root_dir = function(_)
return vim.loop.cwd()
end,
settings = {},
},
}
-- Set it up
lspconfig.blade.setup {
capabilities = capabilities
}
@haringsrob , what do you mean exactly. @james2doyle uses a clone?! Is this the outdated version the way he uses it?
Can you provide a more specific description to install and use it?
Where I have to clone/copy the repo into?
What's about the command in your example? Do I have to create a directory lsps
in my .config
, or is it flexible and I can choose the path?
I'm really lost about this plugin...
You can choose where you clone it. Just point to the correct "executable".
I have not made releases the last times I worked on this because it moves rather fast.
capabilities
where is capabilities
defined? or mabt it is some typo ?
Hi,
you write 'download the compiled version from releases`. Which of them exactly:
Where I have to place it / what I have to do with it?
What is with the 'path to the executable'? The place where the compile file lives???