mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 10:10:31 +01:00
some nixvim shit
This commit is contained in:
parent
b62faa2539
commit
34ac1c621f
|
@ -136,23 +136,23 @@
|
|||
copilot-cmp.enable = false;
|
||||
neocord.enable = true;
|
||||
rustaceanvim = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
settings = {
|
||||
dap.autoloadConfigurations = true;
|
||||
dap.adapter = let
|
||||
code-lldb = pkgs.vscode-extensions.vadimcn.vscode-lldb;
|
||||
in {
|
||||
executable.command = "${code-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/adapter/codelldb";
|
||||
executable.args = [
|
||||
"--liblldb"
|
||||
"${code-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/lldb/lib/liblldb.dylib"
|
||||
"--port"
|
||||
"31337"
|
||||
];
|
||||
type = "server";
|
||||
port = "31337";
|
||||
host = "127.0.0.1";
|
||||
};
|
||||
# dap.autoloadConfigurations = true;
|
||||
# dap.adapter = let
|
||||
# code-lldb = pkgs.vscode-extensions.vadimcn.vscode-lldb;
|
||||
# in {
|
||||
# executable.command = "${code-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/adapter/codelldb";
|
||||
# executable.args = [
|
||||
# "--liblldb"
|
||||
# "${code-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/lldb/lib/liblldb.dylib"
|
||||
# "--port"
|
||||
# "31337"
|
||||
# ];
|
||||
# type = "server";
|
||||
# port = "31337";
|
||||
# host = "127.0.0.1";
|
||||
# };
|
||||
};
|
||||
server = {
|
||||
settings = {
|
||||
|
@ -163,7 +163,7 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
rustaceanvim.settings.server.default_settings.rust-analyzer.diagnostics.disabled = ["inactive-code"];
|
||||
# rustaceanvim.settings.server.default_settings.rust-analyzer.diagnostics.disabled = ["inactive-code"];
|
||||
lsp = {
|
||||
enable = true;
|
||||
inlayHints = true;
|
||||
|
@ -183,11 +183,17 @@
|
|||
java-language-server.enable = true;
|
||||
hls.enable = true;
|
||||
eslint.enable = true;
|
||||
# rust-analyzer = {
|
||||
# enable = true;
|
||||
# installCargo = false;
|
||||
# installRustc = false;
|
||||
# };
|
||||
rust-analyzer = {
|
||||
enable = true;
|
||||
installCargo = false;
|
||||
installRustc = false;
|
||||
settings = {
|
||||
inlayHints = {
|
||||
closureStyle = "rust_analyzer";
|
||||
};
|
||||
typing.autoClosingAngleBrackets.enable = true;
|
||||
};
|
||||
};
|
||||
nil_ls.enable = true;
|
||||
};
|
||||
};
|
||||
|
@ -208,7 +214,7 @@
|
|||
nixvimInjections = true;
|
||||
settings = {
|
||||
ensure_installed = "all";
|
||||
highlight.enable = true;
|
||||
# highlight.enable = true;
|
||||
};
|
||||
};
|
||||
treesitter-refactor = {
|
||||
|
|
Loading…
Reference in a new issue