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
|
FROM registry.fedoraproject.org/fedora:37
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
ENV NEOVIM_PKGS="\
|
ENV NEOVIM_PKGS="\
|
||||||
wget \
|
wget \
|
||||||
unzip \
|
unzip \
|
||||||
|
@ -57,7 +59,7 @@ RUN rm /root/.config/nvim/lazy-lock.json || true
|
||||||
# install lsp and linters using mason
|
# install lsp and linters using mason
|
||||||
RUN nvim --headless +TSUpdateSync \
|
RUN nvim --headless +TSUpdateSync \
|
||||||
+"MasonInstall ${MASON_PKGS}" \
|
+"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\
|
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\
|
[ -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
|
### Image management
|
||||||
|
|
||||||
get latest version from ghcr:
|
#### get latest version from ghcr
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
podman pull ghcr.io/szwendacz99/neovim:latest
|
podman pull ghcr.io/szwendacz99/neovim:latest
|
||||||
```
|
```
|
||||||
|
#### or build
|
||||||
build:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/Szwendacz99/nvim && \
|
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:
|
pack to file with high compression:
|
||||||
|
|
|
@ -94,8 +94,8 @@ require("lazy").setup({
|
||||||
},
|
},
|
||||||
{ 'rmagatti/auto-session' },
|
{ 'rmagatti/auto-session' },
|
||||||
{ 'tpope/vim-fugitive' },
|
{ 'tpope/vim-fugitive' },
|
||||||
{ 'Glench/Vim-Jinja2-Syntax' },
|
{ 'Glench/Vim-Jinja2-Syntax', priority=15 },
|
||||||
{ 'vmware-archive/salt-vim' },
|
{ 'vmware-archive/salt-vim', priority=10 },
|
||||||
{ 'stephpy/vim-yaml' }, -- for proper sls syntax highlighting when jinja
|
{ 'stephpy/vim-yaml' }, -- for proper sls syntax highlighting when jinja
|
||||||
{
|
{
|
||||||
'lukas-reineke/indent-blankline.nvim',
|
'lukas-reineke/indent-blankline.nvim',
|
||||||
|
|
Loading…
Reference in a new issue