fix: make lspconfig bareable

pull/20/head
pegasust 2023-09-24 17:18:28 -07:00
parent c43c27f5dd
commit da666d64b2
4 changed files with 25 additions and 12 deletions

View File

@ -758,11 +758,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1695544722, "lastModified": 1695550077,
"narHash": "sha256-cEnhsF44oNXvX3caEWCrbz5se9tlIsT2UGz4WT/vE0U=", "narHash": "sha256-xoxR/iY69/3lTnnZDP6gf3J46DUKPcf+Y1jH03tfZXE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "4a6333265ed8f3abf4769db60735522bbaa7819d", "rev": "a88df2fb101778bfd98a17556b3a2618c6c66091",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1126,11 +1126,11 @@
}, },
"nixpkgs-latest": { "nixpkgs-latest": {
"locked": { "locked": {
"lastModified": 1695547706, "lastModified": 1695597504,
"narHash": "sha256-d0K3mDswIA7BNyFSD7p0xzfBFNLZamKaw20fVqiY37g=", "narHash": "sha256-CKhj6wOKqndfHsDg8CKVBbpJWG8zHRZRLi7MnOatf0U=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c497931955af2ac89c77a0776bd07e8c8b410f4a", "rev": "7a862f0a660d5bd850457a0ad7772e1672109ccd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1191,6 +1191,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-vimplugins": {
"locked": {
"lastModified": 1695583468,
"narHash": "sha256-NRbfULcsDKXH4I5qKkqaXsBTqJQswDgasHDbhoDvPOE=",
"owner": "cornedor",
"repo": "nixpkgs",
"rev": "dc8c9800fa19a9c44fe15507d9700d8ff1dc507c",
"type": "github"
},
"original": {
"owner": "cornedor",
"ref": "update-vim-plugins",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_10": { "nixpkgs_10": {
"locked": { "locked": {
"lastModified": 1654568412, "lastModified": 1654568412,
@ -1634,6 +1650,7 @@
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs_12", "nixpkgs": "nixpkgs_12",
"nixpkgs-latest": "nixpkgs-latest", "nixpkgs-latest": "nixpkgs-latest",
"nixpkgs-vimplugins": "nixpkgs-vimplugins",
"sg-nvim": "sg-nvim", "sg-nvim": "sg-nvim",
"std": "std_2" "std": "std_2"
} }

View File

@ -33,6 +33,7 @@
# Should show the latest nixpkgs whenever possible # Should show the latest nixpkgs whenever possible
inputs.nixpkgs.follows = "nixpkgs-latest"; inputs.nixpkgs.follows = "nixpkgs-latest";
}; };
nixpkgs-vimplugins.url = "github:cornedor/nixpkgs/update-vim-plugins";
sg-nvim = { sg-nvim = {
url = "git+https://github.com/pegasust/sg.nvim?ref=sg-cody-discover"; url = "git+https://github.com/pegasust/sg.nvim?ref=sg-cody-discover";
}; };

View File

@ -57,7 +57,6 @@ WPlug('MunifTanjim/nui.nvim') -- For some .so or .dylib neovim UI action
-- plugins -- plugins
WPlug('tjdevries/nlua.nvim') -- adds symbols of vim stuffs in init.lua
WPlug('nvim-treesitter/nvim-treesitter') -- language parser engine for highlighting WPlug('nvim-treesitter/nvim-treesitter') -- language parser engine for highlighting
WPlug('nvim-treesitter/nvim-treesitter-textobjects') -- more text objects WPlug('nvim-treesitter/nvim-treesitter-textobjects') -- more text objects
WPlug('nvim-telescope/telescope.nvim', { branch = '0.1.x' }) -- file browser WPlug('nvim-telescope/telescope.nvim', { branch = '0.1.x' }) -- file browser
@ -779,8 +778,6 @@ local on_attach = function(client, bufnr)
-- enable inlay hints if available -- enable inlay hints if available
require('inlay-hints').on_attach(client, bufnr) require('inlay-hints').on_attach(client, bufnr)
client.server_capabilities.semanticTokensProvider = nil
end end
require("sg").setup { require("sg").setup {

View File

@ -96,7 +96,7 @@ in {
*/ */
plugins = let plugins = let
inherit inherit
(inputs.nixpkgs-latest.legacyPackages.${system}.vimPlugins) (inputs.nixpkgs-vimplugins.legacyPackages.${system}.vimPlugins)
plenary-nvim plenary-nvim
nvim-treesitter nvim-treesitter
nvim-treesitter-textobjects nvim-treesitter-textobjects
@ -127,7 +127,6 @@ in {
mason-lspconfig-nvim mason-lspconfig-nvim
mason-nvim mason-nvim
neogit neogit
nlua-nvim
nvim-jqx nvim-jqx
nvim-surround nvim-surround
nvim-web-devicons nvim-web-devicons
@ -178,7 +177,6 @@ in {
mason-lspconfig-nvim mason-lspconfig-nvim
mason-nvim mason-nvim
neogit neogit
nlua-nvim
nvim-jqx nvim-jqx
nvim-surround nvim-surround
nvim-web-devicons nvim-web-devicons