mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 19:46:20 +00:00
feat: add more info
This commit is contained in:
@@ -19,9 +19,12 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
```
|
||||
|
||||
```sh
|
||||
sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos
|
||||
sudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
|
||||
|
||||
git clone git@github.com:Theaninova/home-manager-config.git ~/.config/home-manager
|
||||
cd ~/.config/home-manager
|
||||
sudo nixos-rebuild switch --flake .#
|
||||
sudo nixos-rebuild switch --flake .#MONSTER
|
||||
```
|
||||
|
||||
After that reload the shell
|
||||
|
||||
@@ -286,9 +286,7 @@ in {
|
||||
""
|
||||
];
|
||||
on_new_config = {
|
||||
__raw =
|
||||
# lua
|
||||
''
|
||||
__raw = ''
|
||||
function(new_config, new_root_dir)
|
||||
new_config.cmd = {
|
||||
new_root_dir .. "/node_modules/@angular/language-server/bin/ngserver",
|
||||
@@ -310,9 +308,7 @@ in {
|
||||
"html.angular"
|
||||
];
|
||||
on_attach = {
|
||||
__raw =
|
||||
# lua
|
||||
''
|
||||
__raw = ''
|
||||
function(client, bufnr)
|
||||
if vim.bo[bufnr].filetype == "html" then
|
||||
vim.bo[bufnr].filetype = "angular"
|
||||
@@ -354,9 +350,7 @@ in {
|
||||
enable = true;
|
||||
mode = "symbol_text";
|
||||
cmp = {
|
||||
after =
|
||||
# lua
|
||||
''
|
||||
after = ''
|
||||
function(entry, vim_item, kind)
|
||||
if entry.source.name == "npm" then
|
||||
kind.kind = ""
|
||||
@@ -395,7 +389,6 @@ in {
|
||||
];
|
||||
formatting.fields = [ "abbr" "kind" ];
|
||||
snippet.expand =
|
||||
# lua
|
||||
"function(args) require('luasnip').lsp_expand(args.body) end";
|
||||
window = {
|
||||
completion.border = "rounded";
|
||||
|
||||
Reference in New Issue
Block a user