Merge branch 'main' into main

This commit is contained in:
dmitriiStepanidenko 2025-05-03 19:52:19 +03:00 committed by GitHub
commit 17c478557c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 759 additions and 373 deletions

View file

@ -1,4 +1,8 @@
{lib, ...}: let
{
config,
lib,
...
}: let
inherit (lib.nvim.languages) mkEnable;
in {
imports = [
@ -48,7 +52,11 @@ in {
];
options.vim.languages = {
enableLSP = mkEnable "LSP";
# LSPs are now built into Neovim, and we should enable them by default
# if `vim.lsp.enable` is true.
enableLSP = mkEnable "LSP" // {default = config.vim.lsp.enable;};
# Those are still managed by plugins, and should be enabled here.
enableDAP = mkEnable "Debug Adapter";
enableTreesitter = mkEnable "Treesitter";
enableFormat = mkEnable "Formatting";