From 07e366be57eb79c9544f2226f0ed65d9a3bc9d43 Mon Sep 17 00:00:00 2001 From: ttak0422 Date: Fri, 27 Dec 2024 15:41:17 +0900 Subject: [PATCH] chore(haskell): modify setup --- flake.lock | 6 +++--- fnl/haskell-tools.fnl | 3 +-- lua/autogen/haskell-tools.lua | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 42dc6f5..fdf0e49 100644 --- a/flake.lock +++ b/flake.lock @@ -2675,11 +2675,11 @@ "haskell-tools-nvim": { "flake": false, "locked": { - "lastModified": 1728174113, - "narHash": "sha256-WonbYx1s6hOl/1FG+yYaWjRcDgAdrRinxQ7ZWzi3364=", + "lastModified": 1734826940, + "narHash": "sha256-8sEM4WS7wjxe51wrihnk1r1dZJ9NackwuvhzZchnMe4=", "owner": "MrcJkb", "repo": "haskell-tools.nvim", - "rev": "8d5d616252a148c4b65dd246c83222b6fefb1d8e", + "rev": "63f57758127c495253114248148c9e742ee56701", "type": "github" }, "original": { diff --git a/fnl/haskell-tools.fnl b/fnl/haskell-tools.fnl index e9b525c..85e835c 100644 --- a/fnl/haskell-tools.fnl +++ b/fnl/haskell-tools.fnl @@ -7,7 +7,6 @@ ["" :FloatBorder] ["" :FloatBorder] ["" :FloatBorder]]}} - hls {:on_attach (dofile args.on_attach_path) - :capabilities (dofile args.capabilities_path)} + hls {} dap {}] (set vim.g.haskell_tools {: tools : hls : dap})) diff --git a/lua/autogen/haskell-tools.lua b/lua/autogen/haskell-tools.lua index dc775c6..bcbf630 100644 --- a/lua/autogen/haskell-tools.lua +++ b/lua/autogen/haskell-tools.lua @@ -1,6 +1,6 @@ -- [nfnl] Compiled from fnl/haskell-tools.fnl by https://github.com/Olical/nfnl, do not edit. local tools = {log = {level = vim.log.levels.ERROR}, hover = {border = {{"", "FloatBorder"}, {"", "FloatBorder"}, {"", "FloatBorder"}, {"", "FloatBorder"}, {"", "FloatBorder"}, {"", "FloatBorder"}, {"", "FloatBorder"}, {"", "FloatBorder"}}}} -local hls = {on_attach = dofile(args.on_attach_path), capabilities = dofile(args.capabilities_path)} +local hls = {} local dap = {} vim.g.haskell_tools = {tools = tools, hls = hls, dap = dap} return nil