2024-04-04 15:23:10 -03:00
|
|
|
{ pkgs, lib, ... }:
|
2024-02-16 19:39:03 -03:00
|
|
|
|
|
|
|
{
|
|
|
|
programs.neovim = {
|
|
|
|
enable = true;
|
|
|
|
withNodeJs = true;
|
|
|
|
withPython3 = true;
|
|
|
|
|
2024-04-04 15:23:10 -03:00
|
|
|
extraLuaConfig = builtins.readFile ./init.lua;
|
2024-02-16 19:39:03 -03:00
|
|
|
|
|
|
|
extraPackages = with pkgs; [
|
|
|
|
# CMAKE
|
|
|
|
neocmakelsp
|
|
|
|
|
|
|
|
# C/C++
|
|
|
|
clang-tools
|
2024-05-21 15:53:09 -03:00
|
|
|
gcc # Needed for treesitter
|
2024-02-16 19:39:03 -03:00
|
|
|
|
|
|
|
# HTML/CSS
|
|
|
|
emmet-ls
|
|
|
|
vscode-langservers-extracted
|
|
|
|
|
|
|
|
# JSON
|
|
|
|
nodePackages_latest.vscode-json-languageserver-bin
|
|
|
|
|
|
|
|
# LUA
|
|
|
|
lua-language-server
|
|
|
|
stylua
|
|
|
|
|
|
|
|
# Markdown
|
|
|
|
markdownlint-cli
|
|
|
|
marksman
|
|
|
|
prettierd
|
|
|
|
|
|
|
|
# Nix
|
|
|
|
nil
|
2024-06-24 03:20:30 -03:00
|
|
|
nixfmt-rfc-style
|
2024-02-16 19:39:03 -03:00
|
|
|
|
|
|
|
# TypeScript
|
2024-06-15 22:57:44 -03:00
|
|
|
(callPackage ../vtsls/package.nix { })
|
2024-02-16 19:39:03 -03:00
|
|
|
|
|
|
|
# Rust
|
|
|
|
rust-analyzer
|
|
|
|
taplo
|
|
|
|
vscode-extensions.vadimcn.vscode-lldb.adapter
|
|
|
|
|
|
|
|
# Vue
|
|
|
|
nodePackages.volar
|
|
|
|
|
2024-04-26 07:53:01 -03:00
|
|
|
# Svelte
|
|
|
|
nodePackages.svelte-language-server
|
|
|
|
|
2024-02-16 19:39:03 -03:00
|
|
|
# YAML
|
|
|
|
yaml-language-server
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
xdg.configFile = lib.mkMerge [
|
2024-04-04 15:23:10 -03:00
|
|
|
{ "nvim/lua/community.lua".source = ./lua/community.lua; }
|
|
|
|
{ "nvim/lua/lazy_setup.lua".source = ./lua/lazy_setup.lua; }
|
|
|
|
{ "nvim/lua/plugins".source = ./lua/plugins; }
|
|
|
|
{ "nvim/lua/polish.lua".source = ./lua/polish.lua; }
|
2024-02-16 19:39:03 -03:00
|
|
|
];
|
|
|
|
}
|