feature: configurable icon for local file links
Los mantenedores suelen responder en 6 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 57/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- lua, neovim
- Área
- developer-experience
Línea de trabajo
Start by reading the plugin’s link rendering and link.custom configuration code to see how it classifies link targets and applies icon overrides. Trace how relative, absolute, and file:// paths are distinguished from fragment-only links and other URI schemes. Done means local file links can use an optional configured icon, custom overrides retain precedence, and existing behavior remains when no file icon is set.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem? Please describe.
Links to local files currently use the same default icon as web links. When reading Markdown notes with many links to other notes, a distinct file icon would make it easier to tell whether a link opens another local document or a website.
For example:
[Related note](../notes/topic.md)
[Local document](./document.pdf)
[Website](https://example.com)
I'd like the first two links to use a Nerd Font file icon such as , while the website keeps the existing hyperlink icon.
Describe the solution you'd like
Would you consider supporting a separate icon for local file links, perhaps through an optional link.file setting?
Ideally, this would cover relative paths, absolute paths, and file:// URLs, including paths without a file extension. Fragment-only links such as #heading and links with other URI schemes should retain their existing behavior. Existing link.custom overrides should still take precedence.
Keeping the current appearance unless a file icon is explicitly configured would be fine. This request is about being able to distinguish the link targets, rather than requiring a particular default glyph.
Describe alternatives you've considered
link.custom can match known path prefixes or file extensions. However, covering local paths in general seems less straightforward: paths may have no extension, and web URLs may also end in .md or .pdf.
If there is already a clean way to express this using link.custom, a documented configuration example would also solve my use case.
Additional information
I'm interested in contributing a PR if this fits the plugin's scope. I'd appreciate your preference on whether this belongs in a dedicated setting or the existing custom-link configuration.
- Lenguaje dominante
- Lua
- Estrellas
- 5.2k
- Forks
- 150
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MeanderingProgrammer/render-markdown.nvim
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
MeanderingProgrammer/render-markdown.nvim#711 · 1 comentario ·
Los mantenedores suelen responder en 6 días
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
MeanderingProgrammer/render-markdown.nvim#709 ·
Los mantenedores suelen responder en 6 días
-
bug
Dificultad 4/5 1-2 días Aptitud para principiantes 55/100
MeanderingProgrammer/render-markdown.nvim#706 ·
Los mantenedores suelen responder en 6 días
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
MeanderingProgrammer/render-markdown.nvim#685 ·
Los mantenedores suelen responder en 6 días
-
bug: Tables don't render correctly if the pipe at the end of line is missingPosiblemente ocupada @samholmes la tomó hace 109 días. Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
MeanderingProgrammer/render-markdown.nvim#673 · 2 comentarios ·
Los mantenedores suelen responder en 6 días
Todos los issues de MeanderingProgrammer/render-markdown.nvim
Issues similares
-
Hare Lexer will Need an UpdateAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
orbitalquark/scintillua#223 ·
-
bug code-annotation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
quarto-dev/quarto-cli#15215 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CopilotC-Nvim/CopilotChat.nvim#1588 · 3 comentarios ·
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
avante-corp/avante.nvim#3339 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
qiskit-community/qrmi#332 · 2 comentarios ·
Los mantenedores suelen responder en 1 día