Skip to content

Commit

Permalink
Update Document
Browse files Browse the repository at this point in the history
  • Loading branch information
luozhiya committed Jun 7, 2024
1 parent 6e45bfa commit d8816ca
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ use {
-- Show "Fitten Code - Start Chat" in the editor context menu, when you right-click on the code.
show_in_editor_context_menu = true,
},
identify_programming_language = {
-- Identify programming language of the current buffer
-- * Unnamed buffer
-- * Buffer without file extension
-- * Buffer no filetype detected
identify_buffer = true,
}
},
disable_specific_inline_completion = {
-- Disable auto-completion for some specific file suffixes by entering them below
Expand Down Expand Up @@ -134,6 +141,10 @@ use {
---@type integer
delaytime = 0,
},
prompt = {
-- Maximum number of characters to prompt for completion/chat.
max_characters = 1000000,
},
-- Enable/Disable the default keymaps in inline completion.
use_default_keymaps = true,
-- Default keymaps
Expand All @@ -157,8 +168,8 @@ use {
},
-- Set the mode of the completion.
-- Available options:
-- - 'inline' (VSCode style inline completion)
-- - 'source' (integrates into other completion plugins)
-- * 'inline' (VSCode style inline completion)
-- * 'source' (integrates into other completion plugins)
completion_mode = 'inline',
---@class LogOptions
log = {
Expand Down
10 changes: 5 additions & 5 deletions lua/fittencode/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ local defaults = {
},
identify_programming_language = {
-- Identify programming language of the current buffer
-- - Unnamed buffer
-- - Buffer without file extension
-- - Buffer no filetype detected
-- * Unnamed buffer
-- * Buffer without file extension
-- * Buffer no filetype detected
identify_buffer = true,
}
},
Expand Down Expand Up @@ -117,8 +117,8 @@ local defaults = {
},
-- Set the mode of the completion.
-- Available options:
-- - 'inline' (VSCode style inline completion)
-- - 'source' (integrates into other completion plugins)
-- * 'inline' (VSCode style inline completion)
-- * 'source' (integrates into other completion plugins)
completion_mode = 'inline',
rest = {
-- Rest backend to use. Available options:
Expand Down

0 comments on commit d8816ca

Please sign in to comment.