-
|
When i enter shell.nix, and hover over BeautifulSoup and press if not nixCats('general') then
return
end
require('blink.cmp').setup({
-- 'default' (recommended) for mappings similar to built-in completions (C-y to accept)
-- See :h blink-cmp-config-keymap for configuring keymaps
keymap = { preset = 'default' },
appearance = {
nerd_font_variant = 'mono',
},
signature = { enabled = true },
sources = {
default = { 'lsp', 'path', 'snippets', 'buffer' },
},
-- Disable autocompletion for specific filetypes
enabled = function()
local disabled_filetypes = { 'markdown', 'text', 'tex', 'plaintex', 'md', 'txt' }
local current_filetype = vim.bo.filetype
for _, ft in ipairs(disabled_filetypes) do
if ft == current_filetype then
return false
end
end
return true
end,
}) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
What lsp are you using for python? Also Im pretty sure its bs4? so it would be python3 -m pydoc 'bs4' no? I might be wrong, I dont python much But by default, the python3 from your shell should win out over the python3 from nixCats in your path, because the ones from nixCats are suffixed to the path by default With the exception of things that use the python3 remote host, because those look at vim.g.python3_host_prog |
Beta Was this translation helpful? Give feedback.



What lsp are you using for python?
Also Im pretty sure its bs4? so it would be python3 -m pydoc 'bs4' no? I might be wrong, I dont python much
But by default, the python3 from your shell should win out over the python3 from nixCats in your path, because the ones from nixCats are suffixed to the path by default
With the exception of things that use the python3 remote host, because those look at vim.g.python3_host_prog