feat(nvim): use nvim-nightly
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
2326ea6bb9
commit
c1e0932486
7 changed files with 6 additions and 7 deletions
|
@ -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 =
|
||||
/*
|
||||
|
|
|
@ -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}',
|
||||
},
|
||||
},
|
||||
}));
|
||||
|
|
|
@ -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 }
|
||||
|
|
|
@ -55,7 +55,7 @@ in
|
|||
settings = {
|
||||
nixd = {
|
||||
formatting = {
|
||||
command = { "alejandra" },
|
||||
command = { '${lib.getExe pkgs.alejandra}' },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -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)
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
Loading…
Reference in a new issue