feat(home:git): add gh tool
This commit is contained in:
parent
33e7a6f7f9
commit
e743691d94
12 changed files with 225 additions and 47 deletions
38
home/modules/console/editor/nvim/plugins/lsp.nix
Normal file
38
home/modules/console/editor/nvim/plugins/lsp.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
cfg = config.ooknet.editor.nvim;
|
||||
console = config.ooknet.console;
|
||||
in
|
||||
|
||||
{
|
||||
config = mkIf (cfg.enable || console.editor == "nvim") {
|
||||
programs.nixvim.plugins = {
|
||||
lsp-lines.enable = true;
|
||||
lsp = {
|
||||
enable = true;
|
||||
capabilities = "offsetEncoding = 'utf-16'";
|
||||
servers = {
|
||||
|
||||
# nix
|
||||
nil-ls = {
|
||||
enable = true;
|
||||
};
|
||||
# markdown
|
||||
marksman = {
|
||||
enable = true;
|
||||
};
|
||||
# css
|
||||
cssls = {
|
||||
enable = true;
|
||||
};
|
||||
# c/c++
|
||||
clangd = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue