gas gas gas

This commit is contained in:
Tao Tien 2024-09-21 17:31:00 -07:00
parent 3aec7a5e2a
commit 1e5540a803
3 changed files with 19 additions and 14 deletions

View file

@ -1,5 +1,6 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
asm-lsp
gh
# bash-language-server
qemu

View file

@ -6,7 +6,7 @@
...
}: {
users.users.tao.packages = with pkgs; [
davinci-resolve
# davinci-resolve
nufmt
freerdp
nixos-anywhere

View file

@ -7,6 +7,7 @@
settings = {
theme = "gruvbox_dark_hard";
editor = {
shell = ["nu" "--stdin" "-c"];
# rainbow-brackets = true;
line-number = "relative";
cursorline = true;
@ -52,7 +53,7 @@
};
};
languages = {
use-grammars.only = ["rust" "c" "cpp" "typst" "nix" "html" "toml" "markdown" "just" "bash"];
use-grammars.only = ["rust" "c" "cpp" "typst" "nix" "html" "toml" "markdown" "just" "bash" "gas"];
language = [
{
name = "arduino";
@ -129,14 +130,14 @@
unit = "\t";
};
}
{
name = "java";
auto-format = true;
indent = {
tab-width = 4;
unit = "\t";
};
}
# {
# name = "java";
# auto-format = true;
# indent = {
# tab-width = 4;
# unit = "\t";
# };
# }
{
name = "javascript";
auto-format = true;
@ -169,10 +170,13 @@
};
};
language-server = {
jdtls = {
command = "jdtls";
args = ["-data" "/home/tao/.cache/jdtls/workspace"];
};
# gas = {
# command = "asm-lsp";
# };
# jdtls = {
# command = "jdtls";
# args = ["-data" "/home/tao/.cache/jdtls/workspace"];
# };
arduino-language-server = {
command = "boxxy";
args = ["arduino-language-server" "-cli" "arduino-cli" "-cli-config" "~/.local/share/arduino/cli/arduino-cli.yaml" "-jobs" "0"];