mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-09 16:39:51 +01:00
fix unnecessary whitespace
This commit is contained in:
parent
6e2f84ebf9
commit
48c64cfa3b
1 changed files with 7 additions and 10 deletions
|
@ -22,16 +22,13 @@
|
||||||
ts_ls = {
|
ts_ls = {
|
||||||
package = pkgs.typescript-language-server;
|
package = pkgs.typescript-language-server;
|
||||||
lspConfig = ''
|
lspConfig = ''
|
||||||
|
lspconfig.ts_ls.setup {
|
||||||
lspconfig.ts_ls.setup {
|
capabilities = capabilities,
|
||||||
capabilities = capabilities;
|
on_attach = function(client, bufnr)
|
||||||
on_attach = (
|
attach_keymaps(client, bufnr);
|
||||||
function (client, bufnr)
|
client.server_capabilities.documentFormattingProvider = false;
|
||||||
attach_keymaps(client, bufnr);
|
end,
|
||||||
client.server_capabilities.documentFormattingProvider = false;
|
cmd = ${
|
||||||
end
|
|
||||||
) ,
|
|
||||||
cmd = ${
|
|
||||||
if isList cfg.lsp.package
|
if isList cfg.lsp.package
|
||||||
then expToLua cfg.lsp.package
|
then expToLua cfg.lsp.package
|
||||||
else ''{"${cfg.lsp.package}/bin/typescript-language-server", "--stdio"}''
|
else ''{"${cfg.lsp.package}/bin/typescript-language-server", "--stdio"}''
|
||||||
|
|
Loading…
Reference in a new issue