File tree Expand file tree Collapse file tree 4 files changed +2
-46
lines changed
Expand file tree Collapse file tree 4 files changed +2
-46
lines changed Original file line number Diff line number Diff line change 1414 } ;
1515 } ;
1616
17- smithy-lsp = pkgs . callPackage ./smithy-lspconfig.nix { } ;
18-
19- smithyLspHook = ''
20- cat >> $out/lua/lspconfig/configs/smithy_ls.lua <<EOL
21- ${ smithy-lsp . lua }
22- EOL
23- '' ;
24-
2517 # sync queries of tree-sitter-scala and nvim-treesitter
2618 queriesHook = ''
2719 cp ${ inputs . tree-sitter-scala } /queries/* $out/queries/scala/
6355 dontBuild = name == "nvim-metals" ;
6456
6557 preFixup = ''
66- ${ writeIf ( name == "nvim-lspconfig" ) smithyLspHook }
6758 ${ writeIf ( name == "nvim-treesitter" ) tsPreFixupHook }
6859 ${ writeIf ( name == "telescope-media-files" ) telescopeFixupHook }
6960 '' ;
Original file line number Diff line number Diff line change 7373 ( withDeps ( p == "nvim-autopairs" ) [ "nvim-autopairs.completion.cmp" "nvim-autopairs.completion.compe" ] ) ++
7474 ( withDeps ( p == "nvim-bufferline" ) [ "bufferline.commands" ] ) ++
7575 ( withDeps ( p == "nvim-cmp" ) cmpSkip ) ++
76- ( withDeps ( p == "nvim-lspconfig" ) [ "lspconfig.configs.smithy_ls" ] ) ++
7776 ( withDeps ( p == "nvim-neoclip" ) [ "neoclip.fzf" "neoclip.telescope" ] ) ++
7877 ( withDeps ( p == "nvim-notify" ) [ "notify.integrations.fzf" ] ) ++
7978 ( withDeps ( p == "nvim-treesitter-context" ) [ "install_parsers" ] ) ++
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 476476 -- Smithy config
477477 vim.cmd([[au BufRead,BufNewFile *.smithy setfiletype smithy]])
478478
479- lspconfig.smithy .setup {
479+ lspconfig.smithy_ls .setup {
480480 capabilities = capabilities;
481481 on_attach = function(client, bufnr)
482482 attach_keymaps(client, bufnr)
494494
495495 ${ writeIf cfg . ts ''
496496 -- TS config
497- lspconfig.tsserver .setup {
497+ lspconfig.ts_ls .setup {
498498 capabilities = capabilities;
499499 on_attach = function(client, bufnr)
500500 attach_keymaps(client, bufnr)
You can’t perform that action at this time.
0 commit comments