jackMort / ChatGPT.nvim

ChatGPT Neovim Plugin: Effortless Natural Language Generation with OpenAI's ChatGPT API
Apache License 2.0
3.71k stars 310 forks source link

Missing documentation about ui. #313

Open LuchianMihai opened 11 months ago

LuchianMihai commented 11 months ago

I have some troubles with the icons, maybe some missing ttf(or other as such) packages. See image below (lower right side of the picture). I could not find anything in the provided documentation about ui related dependencies (other than nui.nvim). Can you provide more information about other configuration/plugins/icons that may impact this plugin?

image

amplicity commented 11 months ago

same issue here, using vim-plug


call plug#begin('~/.vim/plugged')

Plug 'jackMort/ChatGPT.nvim'
Plug 'nvim-lua/plenary.nvim'
Plug 'MunifTanjim/nui.nvim'
Plug 'nvim-telescope/telescope.nvim'
call plug#end()

lua require('chatgpt').setup()
amplicity commented 11 months ago

Use ctrl+o to bring these settings up.

LuchianMihai commented 11 months ago

I know about those settings, I am having trouble finding the icons. Please se attached image of my sessions panel. I am missing the icons on the left side of the session names image

p135246 commented 8 months ago

As for the icons, I added the following to my .vimrc file:

lua require("chatgpt").setup({chat = {question_sign = "?",answer_sign = "=",border_left_sign = "|",border_right_sign = "|",sessions_window = {active_sign = " a ",inactive_sign = " i ",current_line_sign = "#"}},popup_input = {prompt = " ? "},settings_window = {setting_sign = " - "},help_window = {setting_sign = " - "}})

It is not particularly pretty, but it is ASCII, so I don't have to install new fonts.