Small c# setup
This commit is contained in:
parent
f122c0bf4e
commit
a28c4932f7
|
@ -11,6 +11,7 @@ let
|
|||
rust = false;
|
||||
typst = true;
|
||||
web = true;
|
||||
csharp = false;
|
||||
};
|
||||
|
||||
korora = inputs.korora.lib;
|
||||
|
@ -940,6 +941,9 @@ let
|
|||
optionals purescript [
|
||||
pkgs.purescript-language-server
|
||||
pkgs.nodePackages.purs-tidy
|
||||
] ++
|
||||
optionals csharp [
|
||||
pkgs.csharp-ls
|
||||
]
|
||||
);
|
||||
# }}}
|
||||
|
|
|
@ -97,6 +97,7 @@ function M.config()
|
|||
exportPdf = "onType",
|
||||
},
|
||||
elmls = {},
|
||||
csharp_ls = {},
|
||||
}
|
||||
-- }}}
|
||||
|
||||
|
|
18
home/features/neovim/snippets/cs.miros
Normal file
18
home/features/neovim/snippets/cs.miros
Normal file
|
@ -0,0 +1,18 @@
|
|||
block start
|
||||
string maxlen
|
||||
name Maxlength annotation
|
||||
snip [MaxLength(255)]
|
||||
|
||||
string keyann
|
||||
name Key annotation
|
||||
snip [Key]
|
||||
|
||||
string prop
|
||||
name Object db property
|
||||
snip public$|1⟨ required$1,$1⟩ $2 $3 { get; set; }
|
||||
|
||||
string stringprop
|
||||
name String db property
|
||||
snip
|
||||
[MaxLength(255)]
|
||||
public$|1⟨ required$1,$1⟩ string $2 { get; set; }
|
Loading…
Reference in a new issue