看板 Editor 關於我們 聯絡資訊
※ 引述《kornelius (c9s)》之銘言: : 跟 filetype 相關 : 要確定 filetype plugin on : 測試: : :filetype detect 經過設定set formatoptions = r之後 我的 .c .cpp 可以使用自動註解了 但是 .h 檔沒有辦法使用 請問該去哪邊設定呢? 輸入 filetype detect 好像沒什麼反應 謝謝 : .vimrc 內加入: : :filetype on : :filetype plugin on : :filetype indent on : ※ 引述《allstarschh (allstars)》之銘言: : : 好像10.04的vim default是這樣 : : 目前要set formatoptions=r才可以有上面講的功能 : : 有沒有人知道比較詳細的background跟比較詳細的解法嗎?? -- 這世界最難以理解的事就是所有事情都是可以理解的 (愛因斯坦). -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.87.64.222