Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[latexindent] defaultSettings.yaml missing #1842

Open
3 tasks done
ProfessorMinius opened this issue Dec 4, 2024 · 0 comments
Open
3 tasks done

[latexindent] defaultSettings.yaml missing #1842

ProfessorMinius opened this issue Dec 4, 2024 · 0 comments

Comments

@ProfessorMinius
Copy link

I've searched open issues for similar requests

  • Yes

I've manually reviewed logs to find potential errors

  • Yes

I've recently downloaded the latest plugin version of mason.nvim

  • Yes

Problem description

  1. As the binary executable latexindent-linux is installed in $HOME/.local/share/nvim/mason/packages/latexindent/, it searches for defaultSettings.yaml in the same dir, but it isn't provided so users always have to add their own config files to use latexindent properly, which is very inconvenient and unexpected behaviour.
  2. As mason.nvim is responsible for installing the formatting plugin, it should bundle it together with the binary.

Expected behavior

defaultSettings.yaml exists, therefore it loads and it should work by default that way.

Steps to reproduce

  1. Install latexindent
  2. Enable latexindent
  3. Attempt to format file, nothing happens, log will say that it has attempted to find defaultSettings.yaml but found none

Affected packages

latexindent

Neovim version (>= 0.7)

NVIM v0.10.2
Build type: RelWithDebInfo
LuaJIT 2.1.1731601260

Operating system/version

Linux arch-pc 6.12.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 22 Nov 2024 16:04:27 +0000 x86_64 GNU/Linux

Healthcheck

mason: require("mason.health").check()

mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: skip
- OK Providers: 
    mason.providers.registry-api
    mason.providers.client
- OK neovim version >= 0.7.0

mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-12-04-glib-cause` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send`
- OK wget: `GNU Wget 1.25.0 built on linux-gnu.`
- OK curl: `curl 8.11.0 (x86_64-pc-linux-gnu) libcurl/8.11.0 OpenSSL/3.4.0 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.64.0 nghttp3/1.6.0`
- OK gzip: `gzip 1.13`
- OK tar: `tar (GNU tar) 1.35`
- OK bash: `GNU bash, version 5.2.37(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- WARNING Ruby: not available
  - ADVICE:
    - spawn: ruby failed with exit code - and signal -. ruby is not executable
- WARNING Composer: not available
  - ADVICE:
    - spawn: composer failed with exit code - and signal -. composer is not executable
- WARNING PHP: not available
  - ADVICE:
    - spawn: php failed with exit code - and signal -. php is not executable
- WARNING RubyGem: not available
  - ADVICE:
    - spawn: gem failed with exit code - and signal -. gem is not executable
- OK Go: `go version go1.23.3 linux/amd64`
- OK cargo: `cargo 1.83.0 (5ffbef321 2024-10-29)`
- OK node: `v23.1.0`
- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- OK python: `Python 3.12.7`
- OK luarocks: `/usr/bin/luarocks 3.11.1`
- OK java: `openjdk version "23" 2024-09-17`
- OK npm: `10.9.0`
- OK javac: `javac 23`
- OK pip: `pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12)`
- OK python venv: `Ok`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: Wed 04 Dec 2024 04:43:05 CET.
  Install and authenticate via gh-cli to increase rate limit.

Screenshots or recordings

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant