fix broken UID or GID onf sqlls file, fix sls files plugins startup
This commit is contained in:
parent
bd96e4ed46
commit
80cb374abb
3 changed files with 9 additions and 7 deletions
|
@ -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\
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue