Skip to content

Commit b697ec6

Browse files
committed
Update for nodejs with nvim
1 parent 162d67f commit b697ec6

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

scripts/configs/devcontainer.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,15 @@ extras:
2525
- install_chaotic # install pacstall
2626
- install_rust
2727
- install_rvm
28-
- install_nodejs
2928
pacstall:
3029
- fzf-bin
3130
- neovim-app
31+
- nodejs-deb
3232
pip3:
3333
- neovim
3434
- pynvim==0.5.2
35-
npm:
36-
- neovim
37-
- tree-sitter
3835
final-extras:
36+
- node_nvim
3937
- install_fonts
4038
- zsh_extras
4139
- install_starship

scripts/configs/ubuntu.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,16 @@ pacstall:
4848
- fzf-bin
4949
- lazydocker-bin
5050
- neovim
51+
- nodejs-deb
5152
- obsidian-deb
5253
- signal-desktop-deb
5354
- slack-deb
5455
- zoom-deb
5556
pip3:
5657
- neovim
5758
- pynvim==0.5.2
58-
npm:
59-
- neovim
60-
- tree-sitter
6159
final-extras:
60+
- node_nvim
6261
- install_fonts
6362
- zsh_extras
6463
- install_starship

scripts/utils.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,15 @@ function guake_config() {
389389
guake --no-startup-script --restore-preferences "$DOTFILES_DIR/guake.conf"
390390
}
391391

392+
function node_nvim() {
393+
# Download and install Node.js:
394+
nvm install 22
395+
396+
npm_install \
397+
neovim \
398+
tree-sitter
399+
}
400+
392401
############################## annoyances ######################################
393402
function sudo_rules() {
394403
INFO "Setting sudo rules..."

0 commit comments

Comments
 (0)