Compare commits

...

3 commits

Author SHA1 Message Date
6b04e6f906
fix: specify utf-8 offset encoding for tinymist 2024-11-19 01:10:51 -08:00
1394bab5d3
chore: switch from blink-cmp flake to nixpkgs version 2024-11-19 01:10:51 -08:00
623421eb14
flake.lock: Update
Flake lock file updates:

• Updated input 'blink-cmp':
    'github:Saghen/blink.cmp/88f1c203465fa3d883f2309bc22412c90a9f6a08?narHash=sha256-gJwIy5cVBS%2BAzDm/dYQuHjrO6bIVHO8flC%2BbhBVk2Js%3D' (2024-10-31)
  → 'github:Saghen/blink.cmp/91ea9295a6c3058f15b27724af0dec1afacce772?narHash=sha256-nuuQeDa2wk9aa3R%2B1U8cTWBw17%2BDupP0F5nSGXV4Ubs%3D' (2024-11-15)
• Updated input 'blink-cmp/fenix':
    'github:nix-community/fenix/482b57f3f27a9336e0fbc62fa99ee0f624ccf4d0?narHash=sha256-ufvRff76Y19mkRsmx%2BmAnxKE9A9VaNWC2mVY6TwumOw%3D' (2024-10-28)
  → 'github:nix-community/fenix/46c04695cd28be15ff88e3b8d2716818b034c084?narHash=sha256-jBYFboMLYs0LcIfZq%2BkprR4vOjz6cfqaS8trwogoXQE%3D' (2024-11-13)
• Updated input 'blink-cmp/fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/3b3a87fe9bd3f2a79942babc1d1e385b6805c384?narHash=sha256-FsPsSjqnqMHBgDdM24DFLw4YOw0mFKYFJBcLaI6CvI8%3D' (2024-10-27)
  → 'github:rust-lang/rust-analyzer/fc98e0657abf3ce07eed513e38274c89bbb2f8ad?narHash=sha256-36eYDHoPzjavnpmEpc2MXdzMk557S0YooGms07mDuKk%3D' (2024-11-11)
• Updated input 'blink-cmp/flake-parts':
    'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1?narHash=sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0%3D' (2024-10-01)
  → 'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90?narHash=sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS%2Bb4tfNFCwE%3D' (2024-11-01)
• Updated input 'blink-cmp/flake-parts/nixpkgs-lib':
    'fb192fec7c.tar.gz?narHash=sha256-0xHYkMkeLVQAMa7gvkddbPqpxph%2BhDzdu1XdGPJR%2BOs%3D' (2024-10-01)
  → 'cc2f280002.tar.gz?narHash=sha256-lXvH/vOfb4aGYyvFmZK/HlsNsr/0CVWlwYvo2rxJk3s%3D' (2024-11-01)
• Updated input 'nixCats':
    'github:BirdeeHub/nixCats-nvim/553caacfe4728ea3ca3671b7edeb9f6fb6025dc7?narHash=sha256-M4IBPRz/oVlgEERPi5s4Oe3MzoZOSjYXVgjCdsk%2BYSM%3D' (2024-10-29)
  → 'github:BirdeeHub/nixCats-nvim/29f281178e96337e934ad01517cf1ed5961b83f7?narHash=sha256-I%2BWB462BM6Il5y0W/kYa3wkB7IljNTgvSLhAnfZNgxc%3D' (2024-11-19)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53?narHash=sha256-B5WRZYsRlJgwVHIV6DvidFN7VX7Fg9uuwkRW9Ha8z%2Bw%3D' (2024-10-30)
  → 'github:nixos/nixpkgs/5083ec887760adfe12af64830a66807423a859a7?narHash=sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs%3D' (2024-11-18)
• Updated input 'plugins-typst-preview':
    'github:chomosuke/typst-preview.nvim/06778d1b3d4d29c34f1faf80947b586f403689ba?narHash=sha256-oBJ%2BG4jTQw6%2BMF/SMwaTkGlLQuYLbaAFqJkexf45I1g%3D' (2024-10-24)
  → 'github:chomosuke/typst-preview.nvim/34af60aee0a6afb7c0cb92f37e5140dd042882ec?narHash=sha256-YraS0Oog1pqdNP9Q%2Bs/RhcHrIWqdt3Z6wAj3WzObt0c%3D' (2024-11-19)
2024-11-19 01:10:51 -08:00
3 changed files with 29 additions and 32 deletions

View file

@ -9,11 +9,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1730389505, "lastModified": 1731690394,
"narHash": "sha256-gJwIy5cVBS+AzDm/dYQuHjrO6bIVHO8flC+bhBVk2Js=", "narHash": "sha256-nuuQeDa2wk9aa3R+1U8cTWBw17+DupP0F5nSGXV4Ubs=",
"owner": "Saghen", "owner": "Saghen",
"repo": "blink.cmp", "repo": "blink.cmp",
"rev": "88f1c203465fa3d883f2309bc22412c90a9f6a08", "rev": "91ea9295a6c3058f15b27724af0dec1afacce772",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -31,11 +31,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1730097176, "lastModified": 1731479620,
"narHash": "sha256-ufvRff76Y19mkRsmx+mAnxKE9A9VaNWC2mVY6TwumOw=", "narHash": "sha256-jBYFboMLYs0LcIfZq+kprR4vOjz6cfqaS8trwogoXQE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "482b57f3f27a9336e0fbc62fa99ee0f624ccf4d0", "rev": "46c04695cd28be15ff88e3b8d2716818b034c084",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -49,11 +49,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1727826117, "lastModified": 1730504689,
"narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=", "narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1", "rev": "506278e768c2a08bec68eb62932193e341f55c90",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -64,11 +64,11 @@
}, },
"nixCats": { "nixCats": {
"locked": { "locked": {
"lastModified": 1730202844, "lastModified": 1731997216,
"narHash": "sha256-M4IBPRz/oVlgEERPi5s4Oe3MzoZOSjYXVgjCdsk+YSM=", "narHash": "sha256-I+WB462BM6Il5y0W/kYa3wkB7IljNTgvSLhAnfZNgxc=",
"owner": "BirdeeHub", "owner": "BirdeeHub",
"repo": "nixCats-nvim", "repo": "nixCats-nvim",
"rev": "553caacfe4728ea3ca3671b7edeb9f6fb6025dc7", "rev": "29f281178e96337e934ad01517cf1ed5961b83f7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -79,11 +79,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1730272153, "lastModified": 1731890469,
"narHash": "sha256-B5WRZYsRlJgwVHIV6DvidFN7VX7Fg9uuwkRW9Ha8z+w=", "narHash": "sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53", "rev": "5083ec887760adfe12af64830a66807423a859a7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -95,14 +95,14 @@
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1727825735, "lastModified": 1730504152,
"narHash": "sha256-0xHYkMkeLVQAMa7gvkddbPqpxph+hDzdu1XdGPJR+Os=", "narHash": "sha256-lXvH/vOfb4aGYyvFmZK/HlsNsr/0CVWlwYvo2rxJk3s=",
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz" "url": "https://github.com/NixOS/nixpkgs/archive/cc2f28000298e1269cea6612cd06ec9979dd5d7f.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz" "url": "https://github.com/NixOS/nixpkgs/archive/cc2f28000298e1269cea6612cd06ec9979dd5d7f.tar.gz"
} }
}, },
"plugins-lsp-progress": { "plugins-lsp-progress": {
@ -124,11 +124,11 @@
"plugins-typst-preview": { "plugins-typst-preview": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1729754430, "lastModified": 1732003396,
"narHash": "sha256-oBJ+G4jTQw6+MF/SMwaTkGlLQuYLbaAFqJkexf45I1g=", "narHash": "sha256-YraS0Oog1pqdNP9Q+s/RhcHrIWqdt3Z6wAj3WzObt0c=",
"owner": "chomosuke", "owner": "chomosuke",
"repo": "typst-preview.nvim", "repo": "typst-preview.nvim",
"rev": "06778d1b3d4d29c34f1faf80947b586f403689ba", "rev": "34af60aee0a6afb7c0cb92f37e5140dd042882ec",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -149,11 +149,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1730028316, "lastModified": 1731342671,
"narHash": "sha256-FsPsSjqnqMHBgDdM24DFLw4YOw0mFKYFJBcLaI6CvI8=", "narHash": "sha256-36eYDHoPzjavnpmEpc2MXdzMk557S0YooGms07mDuKk=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "3b3a87fe9bd3f2a79942babc1d1e385b6805c384", "rev": "fc98e0657abf3ce07eed513e38274c89bbb2f8ad",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -5,11 +5,6 @@
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixCats.url = "github:BirdeeHub/nixCats-nvim"; nixCats.url = "github:BirdeeHub/nixCats-nvim";
blink-cmp = {
url = "github:Saghen/blink.cmp";
inputs.nixpkgs.follows = "nixpkgs";
};
plugins-typst-preview = { plugins-typst-preview = {
url = "github:chomosuke/typst-preview.nvim"; url = "github:chomosuke/typst-preview.nvim";
flake = false; flake = false;
@ -133,7 +128,6 @@
# lz.n (not necessarily lazy loaded) # lz.n (not necessarily lazy loaded)
optionalPlugins = { optionalPlugins = {
gitPlugins = with pkgs.neovimPlugins; [ gitPlugins = with pkgs.neovimPlugins; [
inputs.blink-cmp.packages.${pkgs.system}.default
typst-preview typst-preview
lsp-progress lsp-progress
]; ];
@ -176,6 +170,7 @@
vim-sleuth vim-sleuth
typescript-tools-nvim typescript-tools-nvim
texpresso-vim texpresso-vim
blink-cmp
]; ];
}; };

View file

@ -58,7 +58,9 @@ M.setup = function()
}, },
}) })
lspconfig.marksman.setup({}) lspconfig.marksman.setup({})
lspconfig.tinymist.setup({}) lspconfig.tinymist.setup({
offset_encoding = "utf-8",
})
lspconfig.svelte.setup({}) lspconfig.svelte.setup({})
lspconfig.tailwindcss.setup({}) lspconfig.tailwindcss.setup({})
lspconfig.texlab.setup({}) lspconfig.texlab.setup({})