File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments