2

I want to source file csv.vim when editing a csv file. But when I editing a .csv file , it is not sourced and set filetype? returns filetype=

3
  • 2
    Welcome to Vi and Vim! You might want to check out How to debug my vimrc and edit in the minimal reproducing vimrc you end up with. You might also want to check the output of :filetype to make sure filetype detection is on.
    – D. Ben Knoble
    Oct 31, 2021 at 13:46
  • 2
    I believe csv is not by default detected. You need a plugin like my csv plugin for that Oct 31, 2021 at 17:40
  • 1
    @ChristianBrabandt I think it's worth it to write your comment as an answer.
    – TornaxO7
    Nov 1, 2021 at 11:11

1 Answer 1

1

CSV Files are not by default recognized by Vim. You need to install a plugin like my csv plugin to have detect .csv files correctly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.