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, 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 =
/* /*

View file

@ -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}',
}, },
}, },
})); }));

View file

@ -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 }

View file

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

View file

@ -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;
}
]; ];
}; };
}; };

Binary file not shown.

BIN
flake.nix

Binary file not shown.