aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2021-03-20 15:03:03 -0700
committerkatherine <ageha@airen-no-jikken.icu>2021-03-20 15:03:03 -0700
commit25f82811ae968caf687355996a5025576dc866fc (patch)
tree974bf77cc7121bd600b7470dcace4a96c67823bf
parent46e140cae82b91942e887e84c86b1b67e46c5e1b (diff)
downloaddotfiles-25f82811ae968caf687355996a5025576dc866fc.tar.gz
prevent listings from killing syntax highlighting
-rw-r--r--.config/newsboat/urls9
-rw-r--r--.vim/after/syntax/tex/listings.vim4
2 files changed, 13 insertions, 0 deletions
diff --git a/.config/newsboat/urls b/.config/newsboat/urls
index 734f75f..26ceb4b 100644
--- a/.config/newsboat/urls
+++ b/.config/newsboat/urls
@@ -22,6 +22,15 @@ http://feeds.soundcloud.com/users/soundcloud:users:306749289/sounds.rss
https://efforg.libsyn.com/rss
https://anchor.fm/s/39603b1c/podcast/rss
http://arewealone.libsyn.com/rss
+https://conlangery.com/feed/
+https://feeds.megaphone.fm/LIT7632558716
+https://www.thenakedscientists.com/rss/naked_neuroscience.xml
+http://fluidity.libsyn.com/rss
+https://braininspired.co/feed/podcast
+http://scienceontheedge.com/index.php/feed/podcast/
+https://www.typetheoryforall.com/episodes.mp3.rss
+https://www.omnycontent.com/d/playlist/6f223695-5557-4257-af8d-a9d40180081f/5f30e78f-cf8b-45aa-825f-aba400016c32/10356243-c54c-4428-82a9-aba400020e3c/podcast.rss
+https://stemcellpodcast.com/feed/podcast
https://aminormagazine.com/feed/
diff --git a/.vim/after/syntax/tex/listings.vim b/.vim/after/syntax/tex/listings.vim
new file mode 100644
index 0000000..d81374b
--- /dev/null
+++ b/.vim/after/syntax/tex/listings.vim
@@ -0,0 +1,4 @@
+"fix highlighting latex listings
+syn region texZone start="\\begin{lstlisting}" end="\\end{lstlisting}\|%stopzone\>"
+syn region texZone start="\\lstinputlisting" end="{\s*[a-zA-Z/.0-9_^]\+\s*}"
+syn match texInputFile "\\lstinline\s*\(\[.*\]\)\={.\{-}}" contains=texStatement,texInputCurlies,texInputFileOpt