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,
|
config,
|
||||||
|
neovim-nightly,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
|
@ -15,6 +16,7 @@ in {
|
||||||
programs = {
|
programs = {
|
||||||
neovim = {
|
neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = neovim-nightly.packages.${pkgs.system}.neovim;
|
||||||
|
|
||||||
extraLuaConfig =
|
extraLuaConfig =
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -37,7 +37,7 @@ in {
|
||||||
require('lspconfig').bashls.setup(require('coq').lsp_ensure_capabilities({
|
require('lspconfig').bashls.setup(require('coq').lsp_ensure_capabilities({
|
||||||
settings = {
|
settings = {
|
||||||
bashIde = {
|
bashIde = {
|
||||||
shellcheckPath = '${pkgs.shellcheck}/bin/shellcheck',
|
shellcheckPath = '${lib.getExe pkgs.shellcheck}',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -49,7 +49,7 @@ in
|
||||||
''
|
''
|
||||||
local startJdtls = function()
|
local startJdtls = function()
|
||||||
local config = require('coq').lsp_ensure_capabilities({
|
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(
|
root_dir = vim.fs.dirname(vim.fs.find(
|
||||||
{ 'gradlew', '.git', 'mvnw', 'pom.xml' },
|
{ 'gradlew', '.git', 'mvnw', 'pom.xml' },
|
||||||
{ upward = true }
|
{ upward = true }
|
||||||
|
|
|
@ -55,7 +55,7 @@ in
|
||||||
settings = {
|
settings = {
|
||||||
nixd = {
|
nixd = {
|
||||||
formatting = {
|
formatting = {
|
||||||
command = { "alejandra" },
|
command = { '${lib.getExe pkgs.alejandra}' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -96,10 +96,7 @@ in
|
||||||
|
|
||||||
plugins = [
|
plugins = [
|
||||||
vimPlugins.typescript-tools-nvim
|
vimPlugins.typescript-tools-nvim
|
||||||
|
(buildPlugin "ts-error-translator" vimplugin-ts-error-translator-src)
|
||||||
{
|
|
||||||
plugin = 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