Snippets and more language servers for nvim
This commit is contained in:
parent
087223f8a9
commit
47fbd07ef1
18
flake.lock
18
flake.lock
|
@ -201,11 +201,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1695224363,
|
"lastModified": 1695550077,
|
||||||
"narHash": "sha256-+hfjJLUMck5G92RVFDZA7LWkR3kOxs5zQ7RPW9t3eM8=",
|
"narHash": "sha256-xoxR/iY69/3lTnnZDP6gf3J46DUKPcf+Y1jH03tfZXE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "408ba13188ff9ce309fa2bdd2f81287d79773b00",
|
"rev": "a88df2fb101778bfd98a17556b3a2618c6c66091",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -245,11 +245,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1695109627,
|
"lastModified": 1695541019,
|
||||||
"narHash": "sha256-4rpyoVzmunIG6xWA/EonnSSqC69bDBzciFi6SjBze/0=",
|
"narHash": "sha256-rs++zfk41K9ArWkDAlmBDlGlKO8qeRIRzdjo+9SmNFI=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "cb4dc98f776ddb6af165e6f06b2902efe31ca67a",
|
"rev": "61283b30d11f27d5b76439d43f20d0c0c8ff5296",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -260,11 +260,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1695145219,
|
"lastModified": 1695360818,
|
||||||
"narHash": "sha256-Eoe9IHbvmo5wEDeJXKFOpKUwxYJIOxKUesounVccNYk=",
|
"narHash": "sha256-JlkN3R/SSoMTa+CasbxS1gq+GpGxXQlNZRUh9+LIy/0=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5ba549eafcf3e33405e5f66decd1a72356632b96",
|
"rev": "e35dcc04a3853da485a396bdd332217d0ac9054f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
fugitive.enable = true;
|
fugitive.enable = true;
|
||||||
gitgutter.enable = true;
|
gitgutter.enable = true;
|
||||||
lualine.enable = true;
|
lualine.enable = true;
|
||||||
|
typst-vim.enable = true;
|
||||||
telescope = {
|
telescope = {
|
||||||
enable = true;
|
enable = true;
|
||||||
keymaps = {
|
keymaps = {
|
||||||
|
@ -74,10 +75,12 @@
|
||||||
servers = {
|
servers = {
|
||||||
clangd.enable = true;
|
clangd.enable = true;
|
||||||
java-language-server.enable = true;
|
java-language-server.enable = true;
|
||||||
|
jsonls.enable = true;
|
||||||
nil_ls.enable = true;
|
nil_ls.enable = true;
|
||||||
pylsp.enable = true;
|
pylsp.enable = true;
|
||||||
texlab.enable = true;
|
texlab.enable = true;
|
||||||
jsonls.enable = true;
|
tsserver.enable = true;
|
||||||
|
typst-lsp.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
keymaps = {
|
keymaps = {
|
||||||
|
@ -119,12 +122,15 @@
|
||||||
|
|
||||||
# Autocomplete
|
# Autocomplete
|
||||||
plugins = {
|
plugins = {
|
||||||
|
luasnip.enable = true;
|
||||||
cmp-cmdline.enable = true;
|
cmp-cmdline.enable = true;
|
||||||
cmp-git.enable = true;
|
cmp-git.enable = true;
|
||||||
cmp-buffer.enable = true;
|
cmp-buffer.enable = true;
|
||||||
nvim-cmp = {
|
nvim-cmp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
snippet.expand = "luasnip";
|
||||||
sources = [
|
sources = [
|
||||||
|
{ name = "luasnip"; }
|
||||||
{ name = "nvim_lsp"; }
|
{ name = "nvim_lsp"; }
|
||||||
{ name = "path"; }
|
{ name = "path"; }
|
||||||
{ name = "calc"; }
|
{ name = "calc"; }
|
||||||
|
|
Loading…
Reference in a new issue