1

Update generated nvim config

This commit is contained in:
2024-06-05 22:05:42 +02:00
parent 859ee3a2ba
commit 075fe5f587
1292 changed files with 152601 additions and 0 deletions

View File

@ -0,0 +1,24 @@
---
name: Feature request
about: Suggest a new feature or enhancement
labels: enhancement
---
NB! Before posting an issue:
* Make sure to search for a solution in old issues before posting a new one.
* Learn at least a minimum of Markdown formatting (https://guides.github.com/features/mastering-markdown).
Finally, please remove any boilerplate template content that is not relevant!
**Is your feature request related to a problem? Please describe it.**
A clear and short description of what the problem is.
**Describe the solution you'd like**
A clear and short description of what you want to happen.
**Describe alternatives you've considered**
A clear and short description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -0,0 +1,55 @@
---
name: General issue
about: Report a bug, a problem or any kind of issue
---
NB! Before posting an issue:
* Make sure to search for a solution in old issues before posting a new one.
* Learn at least a minimum of Markdown formatting (https://guides.github.com/features/mastering-markdown).
Note, the following can be useful tips to try before posting the issue:
* Run `:checkhealth` (if available, e.g. on neovim).
* Inspect output of `:VimtexCompileOutput`.
Finally, please remove any boilerplate template content that is not relevant!
**Issue**
Provide a clear and short description of the issue. Use simple english.
Provide relevant files and commands in detail, so everybody can reproduce the issue! The following are _examples_ of minimal input files. To use the minimal vimrc files:
* Regular Vim: `vim --servername VIM -u minimal.vim minimal.tex`
* neovim: `nvim -u minimal.vim minimal.tex`
**minimal.vim**
```vim
set nocompatible
let &runtimepath = '~/.vim/bundle/vimtex,' . &runtimepath
let &runtimepath .= ',~/.vim/bundle/vimtex/after'
filetype plugin indent on
syntax enable
```
**minimal.tex**
```tex
\documentclass{minimal}
\begin{document}
Hello world!
\end{document}
```
NB: If relevant, include the content of your `.latexmkrc` file!
**Commands/Input**
Provide set of keys or command to reproduce the issue.
**Observed Behaviour**
Describe the observed behaviour.
**Expected Behaviour**
Describe both the expected and the observed behaviour.
**Output from VimtexInfo**
Run `:VimtexInfo` and paste the content here.

View File

@ -0,0 +1,85 @@
name: General issue
description: Report a bug, a problem, or any kind of issue
labels: [bug]
body:
- type: markdown
attributes:
value: |
Before reporting, please [search existing issues](https://github.com/lervag/vimtex/issues?q=is%3Aissue+is%3Aopen).
- type: textarea
attributes:
label: "Description"
description: |
Provide a clear and short description of the issue. Use simple english.
validations:
required: true
- type: textarea
attributes:
label: "Steps to reproduce"
description: |
Steps to reproduce. Please include minimal test files (`minimal.vim` and `minimal.tex`) and include an initial step like:
* Vim: `vim -u minimal.vim minimal.tex`.
* neovim: `nvim -u minimal.vim minimal.tex`
See below for examples of minimal test files.
placeholder: |
1. `vim -u minimal.vim minimal.tex`
2. Do something
3. Do something more
- type: textarea
attributes:
label: "Expected behavior"
description: "A description of the behavior you expected."
placeholder: "When following the above steps, I expect ..."
- type: textarea
attributes:
label: "Actual behavior"
placeholder: "When following the above steps, I observe ..."
- type: input
attributes:
label: "Do you use a latexmkrc file?"
description: |
This can either be a global `~/.latexmkrc` file or a project specific `/my/project/latexmkrc` file. Or something similar.
If _yes_, then consider if it is relevant to describe it in the above descriptions!
placeholder: "Yes / No"
validations:
required: true
- type: textarea
attributes:
label: "VimtexInfo"
description: |
Run `:VimtexInfo` in a relevant LaTeX file and copy the content here.
render: yaml
validations:
required: true
- type: markdown
attributes:
value: |
## Example of minimal test files
**minimal.vim**
```vim
set nocompatible
let &runtimepath = '~/.vim/bundle/vimtex,' . &runtimepath
let &runtimepath .= ',~/.vim/bundle/vimtex/after'
filetype plugin indent on
syntax enable
" Add relevant options and VimTeX configuration below.
```
**minimal.tex**
```tex
\documentclass{minimal}
\begin{document}
Hello world!
\end{document}
```

View File

@ -0,0 +1,57 @@
name: CI tests
on:
pull_request:
paths-ignore:
- 'doc/*'
- 'docker/*'
- 'media/*'
- '*.md'
push:
paths-ignore:
- 'doc/*'
- 'docker/*'
- 'media/*'
- '*.md'
env:
SHELL: bash
jobs:
run-tests:
name: Test on ubuntu-latest
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- name: Install packages
run: |
sudo apt update
sudo apt install \
moreutils \
texlive texlive-latex-extra texlive-extra-utils \
texlive-bibtex-extra libtext-bibtex-perl \
texlive-publishers \
latexmk \
libmodule-build-perl \
libconfig-autoconf-perl \
libextutils-libbuilder-perl
- uses: jdx/mise-action@v2
with:
tool_versions: |
neovim 0.9.5
vim 9.1.0
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Test with neovim
working-directory: ./test
run: |
mise use neovim
make -j1
- name: Test with vim
env:
MYVIM: vim -T dumb --not-a-term -n
working-directory: ./test
run: |
mise use vim
make -j1