diff --git a/Dockerfile b/Dockerfile index 42dbb66..67125cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM registry.fedoraproject.org/fedora:37 +USER root + ENV NEOVIM_PKGS="\ wget \ unzip \ @@ -57,7 +59,7 @@ RUN rm /root/.config/nvim/lazy-lock.json || true # install lsp and linters using mason RUN nvim --headless +TSUpdateSync \ +"MasonInstall ${MASON_PKGS}" \ - +qa || true + +qa ; chown -R root:root /root/.local/share/nvim/mason/packages/sqlls/node_modules/sql-language-server/node_modules/buffer-equal-constant-time/ RUN echo $'[ -f /usr/share/fzf/key-bindings.bash ] && source /usr/share/fzf/key-bindings.bash \n\ [ -f /usr/share/fzf/shell/key-bindings.bash ] && source /usr/share/fzf/shell/key-bindings.bash \n\ diff --git a/README.md b/README.md index 09ffd35..15d072c 100644 --- a/README.md +++ b/README.md @@ -24,17 +24,17 @@ sudo dnf install -y \ ### Image management -get latest version from ghcr: +#### get latest version from ghcr ```bash podman pull ghcr.io/szwendacz99/neovim:latest ``` - -build: +#### or build ```bash git clone https://github.com/Szwendacz99/nvim && \ -podman build -t neovim ./nvim +podman build -t neovim ./nvim && \ +podman tag localhost/neovim:latest localhost/neovim:$(date +"%Y-%m-%dT%H-%M") ``` pack to file with high compression: diff --git a/lua/lazy-load.lua b/lua/lazy-load.lua index 5cdef64..cc6c275 100644 --- a/lua/lazy-load.lua +++ b/lua/lazy-load.lua @@ -94,8 +94,8 @@ require("lazy").setup({ }, { 'rmagatti/auto-session' }, { 'tpope/vim-fugitive' }, - { 'Glench/Vim-Jinja2-Syntax' }, - { 'vmware-archive/salt-vim' }, + { 'Glench/Vim-Jinja2-Syntax', priority=15 }, + { 'vmware-archive/salt-vim', priority=10 }, { 'stephpy/vim-yaml' }, -- for proper sls syntax highlighting when jinja { 'lukas-reineke/indent-blankline.nvim',