Personal Nix setup
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix up eslint language server

+11 -11
+3 -3
flake.lock
··· 352 352 ] 353 353 }, 354 354 "locked": { 355 - "lastModified": 1738491590, 356 - "narHash": "sha256-4kfFt2XpLQt91rFBzJAn5RwQart1kHwsLp2oljlUETY=", 355 + "lastModified": 1738495084, 356 + "narHash": "sha256-2cAsozIzxOudNRLWTCMvvPAMOhUQX6cGPgt4loH0CxY=", 357 357 "owner": "kitten", 358 358 "repo": "language-servers.nix", 359 - "rev": "98546154224afdc6637ebdb21932cd5a2452337a", 359 + "rev": "32313855138651e17a33294c325d4f593ba95ae6", 360 360 "type": "github" 361 361 }, 362 362 "original": {
+8 -8
modules/nvim/init.lua
··· 349 349 local lsp_util = require('lspconfig.util') 350 350 351 351 local function lsp_on_attach(client, buf) 352 - if client.config.flags then 352 + if client.config.flags and not client.config.flags.allow_incremental_sync ~= nil then 353 353 client.config.flags.allow_incremental_sync = true 354 354 end 355 355 ··· 375 375 end 376 376 end 377 377 378 - local function lsp_capabilities(capabilities) 378 + local function lsp_capabilities(extends) 379 379 local capabilities = vim.tbl_deep_extend( 380 380 "force", 381 381 {}, 382 382 vim.lsp.protocol.make_client_capabilities(), 383 383 require('cmp_nvim_lsp').default_capabilities() or {}, 384 - capabilities or {} 384 + extends or {} 385 385 ) 386 386 capabilities.textDocument.completion.completionItem.documentationFormat = { "markdown" } 387 387 capabilities.textDocument.completion.completionItem.snippetSupport = true ··· 449 449 flags = { debounce_text_changes = 200 }, 450 450 settings = { 451 451 rulesCustomizations = { 452 - { rule = "prettier/prettier", severity = "off" }, 453 - { rule = "sort-keys", severity = "off" }, 454 - { rule = "quotes", severity = "off" }, 455 - { rule = "max-len", severity = "off" }, 456 - { rule = "no-tabs", severity = "off" }, 452 + { rule = 'prettier/prettier', severity = 'off' }, 453 + { rule = 'sort-keys', severity = 'off' }, 454 + { rule = 'quotes', severity = 'off' }, 455 + { rule = 'max-len', severity = 'off' }, 456 + { rule = 'no-tabs', severity = 'off' }, 457 457 }, 458 458 }, 459 459 })