diff options
Diffstat (limited to '.config/nvim/lsp/hyprls.lua')
-rw-r--r-- | .config/nvim/lsp/hyprls.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/nvim/lsp/hyprls.lua b/.config/nvim/lsp/hyprls.lua new file mode 100644 index 0000000..64d7cda --- /dev/null +++ b/.config/nvim/lsp/hyprls.lua @@ -0,0 +1,15 @@ +---@brief +--- +--- https://github.com/hyprland-community/hyprls +--- +--- `hyprls` can be installed via `go`: +--- ```sh +--- go install github.com/hyprland-community/hyprls/cmd/hyprls@latest +--- ``` + +---@type vim.lsp.Config +return { + cmd = { 'hyprls', '--stdio' }, + filetypes = { 'hyprlang' }, + root_markers = { '.git' }, +} |