madox2 / vim-ai

AI-powered code assistant for Vim. OpenAI and ChatGPT plugin for Vim and Neovim.
MIT License
720 stars 66 forks source link

Airline always shows the default [+] #95

Open codiggermkt opened 7 months ago

codiggermkt commented 7 months ago

I was trying to set an icon to be shown next to the file name when it's modified. Airline always shows the default [+] when a file is modified.

Konfekt commented 7 months ago

could this be due to &buftype = 'nofile' set by the file type aichat? According to :help 'bt':

'buftype' 'bt'      string (default: "")
            local to buffer  |local-noglobal|
    The value of this option specifies the type of a buffer:
      <empty>   normal buffer
      nofile    buffer which is not related to a file and will not be written