Comments (3)
@MetriC-DT yes, but is there any docs about that? I am not a tex user so that I can investigate that later.
from telescope-heading.nvim.
I couldn't find any official documentation, but from personal experience and overleaf the "headings" in latex usually consists of one of the following:
\part{Part Title}
\chapter{Chapter Title}
\section{Section Name}
\subsection{Subsection Name}
\subsubsection{Subsubsection Name}
\paragraph{paragraph}
\subparagraph{subparagraph}
\part*{Part Title}
\chapter*{Chapter Title}
\section*{Section Name}
\subsection*{Subsection Name}
\subsubsection*{Subsubsection Name}
\paragraph*{paragraph}
\subparagraph*{subparagraph}
from telescope-heading.nvim.
These are the segments to ignore:
Comments and math segments in tex are of the format:
% this is a comment %
$This is an inline math block$
$$This is also a math block$$
\$ This is NOT a math block \$
\[
This is also a math block
\]
Though I believe that putting a \section
string or any other heading keyword within a math block is a pathological edge case and is probably never seen.
from telescope-heading.nvim.
Related Issues (11)
- Option for preview HOT 3
- Support for vim help file HOT 2
- Use TreeSitter to parse document for headings HOT 5
- Feature request: Support for custom filetypes using header characters (or just .vimrc / init.vim) HOT 7
- Vim help headings donβt show HOT 3
- Help treesitter parser has changed HOT 5
- Is there a way to not sort the headings? HOT 7
- feat: better preview with the heading line at the top of the window HOT 2
- Support Markdown Pandoc filetype HOT 1
- Telescope deprecation warning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telescope-heading.nvim.