feat(nvim): use nvim-nightly
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-05-15 18:55:07 -04:00
parent 2326ea6bb9
commit c1e0932486
7 changed files with 6 additions and 7 deletions

View file

@ -1,5 +1,6 @@
{
config,
neovim-nightly,
pkgs,
...
}: let
@ -15,6 +16,7 @@ in {
programs = {
neovim = {
enable = true;
package = neovim-nightly.packages.${pkgs.system}.neovim;
extraLuaConfig =
/*

View file

@ -37,7 +37,7 @@ in {
require('lspconfig').bashls.setup(require('coq').lsp_ensure_capabilities({
settings = {
bashIde = {
shellcheckPath = '${pkgs.shellcheck}/bin/shellcheck',
shellcheckPath = '${lib.getExe pkgs.shellcheck}',
},
},
}));

View file

@ -49,7 +49,7 @@ in
''
local startJdtls = function()
local config = require('coq').lsp_ensure_capabilities({
cmd = { '${pkgs.jdt-language-server}/bin/jdtls' },
cmd = { '${lib.getExe pkgs.jdt-language-server}' },
root_dir = vim.fs.dirname(vim.fs.find(
{ 'gradlew', '.git', 'mvnw', 'pom.xml' },
{ upward = true }

View file

@ -55,7 +55,7 @@ in
settings = {
nixd = {
formatting = {
command = { "alejandra" },
command = { '${lib.getExe pkgs.alejandra}' },
},
},
},

View file

@ -96,10 +96,7 @@ in
plugins = [
vimPlugins.typescript-tools-nvim
{
plugin = buildPlugin "ts-error-translator" vimplugin-ts-error-translator-src;
}
(buildPlugin "ts-error-translator" vimplugin-ts-error-translator-src)
];
};
};

Binary file not shown.

BIN
flake.nix

Binary file not shown.