Skip to content

Commit edfbadc

Browse files
committed
doc: update readme default config
1 parent 42117fd commit edfbadc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ return {
107107
-- like .yaml, .yml for ansible
108108
auto_venv_lsp_attach_patterns = { "*.py" },
109109

110-
-- Filetypes to activate commands for python.nvim
111-
command_setup_filetypes = { "python" },
110+
-- Buffer patterns to activate commands for python.nvim
111+
command_setup_buf_pattern = { "*.py" },
112112

113113
-- Load python.nvim python snippets
114114
python_lua_snippets = false,

lua/python/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ PythonConfig.defaults = {
2727
-- like .yaml, .yml for ansible
2828
auto_venv_lsp_attach_patterns = { "*.py" },
2929

30-
-- Filetypes to activate commands for python.nvim
30+
-- Buffer patterns to activate commands for python.nvim
3131
command_setup_buf_pattern = { "*.py" },
3232

3333
-- Load python.nvim python snippets

0 commit comments

Comments
 (0)