Compare commits

...

3 Commits

  1. 16
      .config/nvim/lua/config/options.lua
  2. 3
      .dotfiles.d/init/init-nvim.sh
  3. 2
      .dotfiles.d/init/init-shell.sh

16
.config/nvim/lua/config/options.lua

@ -8,6 +8,20 @@ vim.opt.clipboard = "unnamedplus"
-- Polish spellcheck by default, change runtime by :opt.spelllang = { "en_gb" }
vim.opt.spelllang = { "pl,en" }
--- Disable hiding of markup
vim.opt.conceallevel = 0
--- Break lines at word boundaries
vim.opt.wrap = true
vim.opt.linebreak = true
--- Copy the indent of the current line when inserting a new line
vim.opt.autoindent = true
--- Disable the inlay hints (additional information about types and parameters names) because it clutters view
vim.g.lazyvim_no_inlay_hints = true
-- -- Enable list mode to show whitespace
-- vim.opt.list = true
@ -20,3 +34,5 @@ vim.opt.listchars = {
precedes = "<", -- Symbol for characters that precede the window
-- eol = "↲", -- Symbol for end of line (optional)
}

3
.dotfiles.d/init/init-nvim.sh

@ -9,11 +9,12 @@ sudo apt install -y \
ripgrep \
fd-find \
zoxide \
build-essential \
just
cd /tmp
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz
sudo rm -rf /opt/nvim-linux-x86_64
sudo rm -rf /opt/nvim-linux-x86_64 2>/dev/null || :
sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz
rm nvim-linux-x86_64.tar.gz
sudo ln -sf /opt/nvim-linux-x86_64/bin/nvim /usr/bin/nvim

2
.dotfiles.d/init/init-shell.sh

@ -6,6 +6,8 @@ SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
sudo apt update -y
sudo apt install -y zsh eza unzip locales
sudo chsh -s $(which zsh) $USER
source "${SCRIPT_DIR}/ensure-locale.sh"
cd ~

Loading…
Cancel
Save