linuxware/programs/neovim/default.nix

60 lines
923 B
Nix
Raw Normal View History

2024-04-04 15:23:10 -03:00
{ pkgs, lib, ... }:
{
programs.neovim = {
enable = true;
withNodeJs = true;
withPython3 = true;
2024-04-04 15:23:10 -03:00
extraLuaConfig = builtins.readFile ./init.lua;
extraPackages = with pkgs; [
# CMAKE
neocmakelsp
# C/C++
clang-tools
2024-05-21 15:53:09 -03:00
gcc # Needed for treesitter
2024-07-06 05:04:37 -03:00
# HTML/CSS/JSON
emmet-ls
vscode-langservers-extracted
# LUA
lua-language-server
stylua
# Markdown
markdownlint-cli
marksman
prettierd
# Nix
2024-07-11 05:09:03 -03:00
nixd
nixfmt-rfc-style
# TypeScript
typescript-language-server
# Rust
rust-analyzer
taplo
vscode-extensions.vadimcn.vscode-lldb.adapter
# Vue
vue-language-server
2024-04-26 07:53:01 -03:00
# Svelte
nodePackages.svelte-language-server
# YAML
yaml-language-server
];
};
xdg.configFile."nvim/lua" = {
recursive = true;
source = ./lua;
};
}