haringsrob / laravel-dev-tools

Developer tools for easier Laravel development (Blade lsp)
Apache License 2.0
84 stars 5 forks source link

I dont even know how to title this issue #14

Closed t0mri closed 6 months ago

t0mri commented 7 months ago

This is my init.lua configuration:

local lsp_zero = require("lsp-zero")
local lsp_configurations = require("lspconfig.configs")

if not lsp_configurations.blade then
    lsp_configurations.blade = {
        default_config = {
            name = "blade",
            cmd = { "~/.local/share/nvim/laravel-dev-tools", "lsp" },
            filetypes = { "blade" },
            root_dir = require("lspconfig.util").root_pattern("composer.json"),
        },
    }
end

require("lspconfig").blade.setup({})

I got this error: image

So i went straight to folder and tried running from the cli and i get this error: image

i can not understand the error, so i cant title this issue properly, but as the creator you might get it, i hope. so pls check this out.

author of #9 also suffered from this impaired documentation ig. so better documentation would be greatly appreciated

t0mri commented 6 months ago

build from source, copy the bin to the your machine's bin folder and replace the path with the bin name