diff --git a/candy/ftplugin/typescript.lua b/candy/ftplugin/typescript.lua deleted file mode 100644 index b8ab466..0000000 --- a/candy/ftplugin/typescript.lua +++ /dev/null @@ -1,19 +0,0 @@ -require("typescript-tools").setup({ - cmd = { "typescript-language-server", "--stdio" }, - settings = { - -- https://github.com/pmizio/typescript-tools.nvim/blob/master/lua/typescript-tools/protocol/text_document/did_open.lua#L8 - tsserver_file_preferences = { - includeInlayParameterNameHints = "all", - includeInlayFunctionParameterTypeHints = true, - includeInlayEnumMemberValueHints = true, - - includeCompletionsForModuleExports = true, - - quotePreference = "auto", - }, - tsserver_format_options = { - allowIncompleteCompletions = false, - allowRenameOfImportPath = false, - }, - }, -}) diff --git a/flake.lock b/flake.lock index 2cf9d77..b9c6c6b 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "flake-compat": { "locked": { - "lastModified": 1751685974, - "narHash": "sha256-NKw96t+BgHIYzHUjkTK95FqYRVKB8DHpVhefWSz/kTw=", - "rev": "549f2762aebeff29a2e5ece7a7dc0f955281a1d1", + "lastModified": 1777699697, + "narHash": "sha256-Eg9b/rq/ECYwNwEXs5i9wHyhxNI0JrYx2srdI2uZMaQ=", + "rev": "382052b74656a369c5408822af3f2501e9b1af81", "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/flake-compat/archive/549f2762aebeff29a2e5ece7a7dc0f955281a1d1.tar.gz" + "url": "https://git.lix.systems/api/v1/repos/lix-project/flake-compat/archive/382052b74656a369c5408822af3f2501e9b1af81.tar.gz" }, "original": { "type": "tarball", @@ -38,11 +38,11 @@ ] }, "locked": { - "lastModified": 1775087534, - "narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=", + "lastModified": 1778716662, + "narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b", + "rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb", "type": "github" }, "original": { @@ -59,11 +59,11 @@ ] }, "locked": { - "lastModified": 1772408722, - "narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=", + "lastModified": 1778716662, + "narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3", + "rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb", "type": "github" }, "original": { @@ -92,11 +92,11 @@ "neovim-src": { "flake": false, "locked": { - "lastModified": 1774915197, - "narHash": "sha256-yor+eo8CVi7wBp7CjAMQnVoK+m197gsl7MvUzaqicns=", + "lastModified": 1780578243, + "narHash": "sha256-aMsEz6Z+Zs3Ji2lrAHBMc5vsxm0YswBUKOCSY2jLZfA=", "owner": "neovim", "repo": "neovim", - "rev": "dbc4800dda2b0dc3290dc79955f857256e0694e2", + "rev": "fd4655ea3ae23d76e082d6af3e099fa0e9710a30", "type": "github" }, "original": { @@ -112,11 +112,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1775138742, - "narHash": "sha256-cyipL9p0VzyZT0wa+3KkeJYvtEYzyI1PjBOnGU8z3gI=", + "lastModified": 1780617901, + "narHash": "sha256-FIOgyShFJfbmpSdPUBWLKty0+0hs6dp9Qo/1uXuPG5U=", "owner": "nix-community", "repo": "neovim-nightly-overlay", - "rev": "0fff256cfbc6978e711c43555df210d46940e943", + "rev": "7a9b3c6ee0f36fa07eeb4aecf18521bbf52881ab", "type": "github" }, "original": { @@ -143,11 +143,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1774701658, - "narHash": "sha256-CIS/4AMUSwUyC8X5g+5JsMRvIUL3YUfewe8K4VrbsSQ=", + "lastModified": 1780365719, + "narHash": "sha256-QfWfccTN+70ZQ4m2qlU9PiKfz2Yppq94058iJyARNwc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b63fe7f000adcfa269967eeff72c64cafecbbebe", + "rev": "ffa10e26ae11d676b2db836259889f1f571cb14f", "type": "github" }, "original": { @@ -159,11 +159,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1775095191, - "narHash": "sha256-CsqRiYbgQyv01LS0NlC7shwzhDhjNDQSrhBX8VuD3nM=", + "lastModified": 1780365719, + "narHash": "sha256-QfWfccTN+70ZQ4m2qlU9PiKfz2Yppq94058iJyARNwc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "106eb93cbb9d4e4726bf6bc367a3114f7ed6b32f", + "rev": "ffa10e26ae11d676b2db836259889f1f571cb14f", "type": "github" }, "original": { @@ -212,11 +212,11 @@ ] }, "locked": { - "lastModified": 1775199157, - "narHash": "sha256-lpkcP0xJcYreYzLWA2s6aaP8LBDx8ih3OTIG01CbmJM=", + "lastModified": 1780466165, + "narHash": "sha256-/pQNBJpOvgjOXkuJrHuPq8CqZr5s8DTfGMMmelhBjnc=", "owner": "mrshmllow", "repo": "tolerable-nvim-nix", - "rev": "dede969ae918ac59b163839a31a3a093d692f351", + "rev": "f79b6296c95341cee96ebd49da0bc27d543e8088", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index d668b8d..2530777 100644 --- a/flake.nix +++ b/flake.nix @@ -81,7 +81,8 @@ lua-language-server nil statix - # nodePackages.typescript-language-server + # typescript-language-server + typescript-go tailwindcss-language-server # nodePackages.sql-formatter gopls @@ -118,7 +119,6 @@ doCheck = false; }) rustaceanvim - typescript-tools-nvim direnv-vim vim-dotenv (opt nvim-spider)