mirror of
				https://github.com/wlcx/home.git
				synced 2025-11-03 22:33:45 +00:00 
			
		
		
		
	Compare commits
	
		
			No commits in common. "2231683ffc85e0568284aa0c35424b99500cfe16" and "96396f67a751deaa10fc9652b1ca68b519f3d255" have entirely different histories.
		
	
	
		
			2231683ffc
			...
			96396f67a7
		
	
		
							
								
								
									
										8
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							@ -62,16 +62,16 @@
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    "nixpkgs": {
 | 
					    "nixpkgs": {
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1672102598,
 | 
					        "lastModified": 1671040593,
 | 
				
			||||||
        "narHash": "sha256-7fzlPrDEpej/8ORSk7V4H4W6koOMD0juQ/M7whewNpk=",
 | 
					        "narHash": "sha256-W5aZNwYBjaEaLifDWGEfecvnCiDkXjI26rHgidSftUM=",
 | 
				
			||||||
        "owner": "nixos",
 | 
					        "owner": "nixos",
 | 
				
			||||||
        "repo": "nixpkgs",
 | 
					        "repo": "nixpkgs",
 | 
				
			||||||
        "rev": "93c0d5dcf02409fe705500e90af38b33d3a259d3",
 | 
					        "rev": "170e39462b516bd1475ce9184f7bb93106d27c59",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "original": {
 | 
					      "original": {
 | 
				
			||||||
        "owner": "nixos",
 | 
					        "owner": "nixos",
 | 
				
			||||||
        "ref": "release-22.11",
 | 
					        "ref": "nixos-22.11",
 | 
				
			||||||
        "repo": "nixpkgs",
 | 
					        "repo": "nixpkgs",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
				
			|||||||
@ -2,7 +2,7 @@
 | 
				
			|||||||
  description = "Samw's home environment, as managed by nix/home-manager.";
 | 
					  description = "Samw's home environment, as managed by nix/home-manager.";
 | 
				
			||||||
  inputs = {
 | 
					  inputs = {
 | 
				
			||||||
    # Nixpkgs
 | 
					    # Nixpkgs
 | 
				
			||||||
    nixpkgs = {url = "github:nixos/nixpkgs/release-22.11";};
 | 
					    nixpkgs = {url = "github:nixos/nixpkgs/nixos-22.11";};
 | 
				
			||||||
    # Other modules
 | 
					    # Other modules
 | 
				
			||||||
    home-manager = {
 | 
					    home-manager = {
 | 
				
			||||||
      url = "github:nix-community/home-manager/release-22.11";
 | 
					      url = "github:nix-community/home-manager/release-22.11";
 | 
				
			||||||
 | 
				
			|||||||
@ -32,7 +32,6 @@ in {
 | 
				
			|||||||
      dhall-vim
 | 
					      dhall-vim
 | 
				
			||||||
      kotlin-vim
 | 
					      kotlin-vim
 | 
				
			||||||
      Jenkinsfile-vim-syntax
 | 
					      Jenkinsfile-vim-syntax
 | 
				
			||||||
      html5-vim
 | 
					 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
    # delve is unsupported on aarch64-linux and golangci-lint is broken on darwin
 | 
					    # delve is unsupported on aarch64-linux and golangci-lint is broken on darwin
 | 
				
			||||||
    # (see https://github.com/NixOS/nixpkgs/issues/168984).
 | 
					    # (see https://github.com/NixOS/nixpkgs/issues/168984).
 | 
				
			||||||
 | 
				
			|||||||
@ -62,20 +62,6 @@ require'lspconfig'.rnix.setup{
 | 
				
			|||||||
require'lspconfig'.rust_analyzer.setup{
 | 
					require'lspconfig'.rust_analyzer.setup{
 | 
				
			||||||
  on_attach = on_attach,
 | 
					  on_attach = on_attach,
 | 
				
			||||||
  capabilities = capabilities,
 | 
					  capabilities = capabilities,
 | 
				
			||||||
  commands = {
 | 
					 | 
				
			||||||
    RustOpenDocs = {
 | 
					 | 
				
			||||||
      function()
 | 
					 | 
				
			||||||
        vim.lsp.buf_request(vim.api.nvim_get_current_buf(), 'experimental/externalDocs', vim.lsp.util.make_position_params(), function(err, url)
 | 
					 | 
				
			||||||
          if err then
 | 
					 | 
				
			||||||
            error(tostring(err))
 | 
					 | 
				
			||||||
          else
 | 
					 | 
				
			||||||
            vim.fn['netrw#BrowseX'](url, 0)
 | 
					 | 
				
			||||||
          end
 | 
					 | 
				
			||||||
        end)
 | 
					 | 
				
			||||||
      end,
 | 
					 | 
				
			||||||
      description = 'Open documentation for the symbol under the cursor in default browser',
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
require'lspconfig'.dhall_lsp_server.setup{
 | 
					require'lspconfig'.dhall_lsp_server.setup{
 | 
				
			||||||
  on_attach = on_attach,
 | 
					  on_attach = on_attach,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user