Closed AlePon123 closed 2 years ago
Error attempt to call field lsp code actions
NVIM v0.7.0 Build type: Release LuaJIT 2.1.0-beta3
lastest arch
## Checking for required plugins - OK: plenary installed. - OK: nvim-treesitter installed. ## Checking external dependencies - OK: rg: found ripgrep 13.0.0 - OK: fd: found fd 8.3.2 ## ===== Installed extensions ===== ## Telescope Extension: `file_browser` - INFO: No healthcheck provided ## Telescope Extension: `fzy_native` - INFO: No healthcheck provided ## Telescope Extension: `media_files` - INFO: No healthcheck provided
nmap { 'ca', function() local opts = { winblend = 10, border = true, previewer = false, shorten_path = false, } require("telescope.builtin").lsp_code_actions(opts) end, { silent = true } }
Code actions don't working
vim.cmd [[set runtimepath=$VIMRUNTIME]] vim.cmd [[set packpath=/tmp/nvim/site]] local package_root = '/tmp/nvim/site/pack' local install_path = package_root .. '/packer/start/packer.nvim' local function load_plugins() require('packer').startup { { 'wbthomason/packer.nvim', { 'nvim-telescope/telescope.nvim', requires = { 'nvim-lua/plenary.nvim', { 'nvim-telescope/telescope-fzf-native.nvim', run = 'make' }, }, }, -- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE }, config = { package_root = package_root, compile_path = install_path .. '/plugin/packer_compiled.lua', display = { non_interactive = true }, }, } end _G.load_config = function() require('telescope').setup() require('telescope').load_extension('fzf') -- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE end if vim.fn.isdirectory(install_path) == 0 then print("Installing Telescope and dependencies.") vim.fn.system { 'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path } end load_plugins() require('packer').sync() vim.cmd [[autocmd User PackerComplete ++once echo "Ready!" | lua load_config()]]
https://github.com/nvim-telescope/telescope.nvim/issues/1470#issuecomment-1106707726
Description
Error attempt to call field lsp code actions
Neovim version
Operating system and version
lastest arch
checkhealth telescope
Steps to reproduce
Expected behavior
Code actions don't working
Actual behavior
Minimal config