FG
💻 Software

Filetype detection not working

Fresh6 days ago
Mar 15, 202616714 views
Confidence Score0%
0%

Problem

I am using the same on two seperate computers, both macbooks using (MacVim). One detects the filetype correctly after launching a file from the terminal. The other makes me manually type. Any other curious observations of what settings in vimrc controls this behavior would be appreciated.

Error Output

:set filetype=php

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Filetype detection not working

Low Risk

try add a line: before

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment