Comments (3)
My bad! I realized that in a file like foo.md, Vim wasn't using your markdown highlighting at all! I looked at my filetype.vim:
sam@mint6510:~/code$ grep "*.md" /usr/share/vim/vim73/filetype.vim
au BufNewFile,BufRead *.markdown,*.mdown,*.mkd,*.mkdn,README.md setf markdown
au BufNewFile,BufRead *.m2,*.DEF,*.MOD,*.md,*.mi setf modula2
It was highlighting it like modula2! So I copied filetype.vim into my dotfiles, and changed *.md to markdown instead of modula2.
from dotfiles.
Hmm, that's always bothered me, too. I sort of grew to live with it. Thanks for the nudge to look into it.
from dotfiles.
Thanks, fixed!
from dotfiles.
Related Issues (20)
- Fresh install creates circular symlinks for bin/* and vim/* HOT 1
- gitignore.local being ignored? HOT 2
- zshrc line 12 syntax error? HOT 1
- `git up` now rebases against `master` and not `origin/master` HOT 2
- Ctags warnings HOT 7
- fzf moves the cursor in Vim HOT 2
- The default post-checkout git hook breaks git clone
- New location for fzf under macOS with ARM architecture HOT 1
- Do not override :Ag command
- This is shit. HOT 1
- Vim configuration is opinionated and does not provide any opt-out HOT 1
- Weird text when I open vim HOT 2
- Outdated gitconfig explanation in README? HOT 2
- `/vendor` in `.gitignore` breaks Rails 7 deploys
- What's the recommended way to add binaries to $PATH? HOT 2
- zsh profile not fully loading on terminal startup (iTerm2 + Monterrey) HOT 5
- Error detected while processing /home/samuelodan/.vimrc: (E121: Undefined variable: g:has_async) HOT 3
- X
- Python3 os.getenv Failed to Gather Environment Variable During Runtime
- LRss
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 dotfiles.