Strange issue with LSP and nvim-compe

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • nvim-compe

    Discontinued Auto completion Lua plugin for nvim

  • -- lsp setup require'lspinstall'.setup() local servers = require'lspinstall'.installed_servers() for _, server in pairs(servers) do require'lspconfig'[server].setup{} end -- compe setup require'compe'.setup { enabled = true; autocomplete = true; debug = false; min_length = 1; preselect = 'disable'; throttle_time = 100; source_timeout = 200; resolve_timeout = 800; incomplete_delay = 400; max_abbr_width = 100; max_kind_width = 100; max_menu_width = 100; documentation = { border = { '', '' ,'', ' ', '', '', '', ' ' }, -- the border option is the same as `|help nvim_open_win|` winhighlight = "NormalFloat:CompeDocumentation,FloatBorder:CompeDocumentationBorder", max_width = 120, min_width = 60, max_height = math.floor(vim.o.lines * 0.3), min_height = 1, }; source = { path = true; buffer = true; calc = false; nvim_lsp = true; nvim_lua = true; luasnip = true; }; } -- stuff related to using tab for completion (from https://github.com/hrsh7th/nvim-compe#how-to-use-tab-to-navigate-completion-menu) local t = function(str) return api.nvim_replace_termcodes(str, true, true, true) end local check_back_space = function() local col = fn.col('.') - 1 return col == 0 or fn.getline('.'):sub(col, col):match('%s') ~= nil end _G.tab_complete = function() if fn.pumvisible() == 1 then return fn['compe#confirm']({keys = '', select = true}) elseif fn['vsnip#available'](1) == 1 then return t "(vsnip-expand-or-jump)" elseif check_back_space() then return t "" else return fn['compe#complete']() end end

  • dotfiles

    Discontinued My dotfiles for Neovim, fish, tmux, and friends, optimized for web development on macOS. (by jose-elias-alvarez)

  • Not sure if you fix the prob, sorry for late reply, was very busy. I couldn't reproduce your prob at my config. You could take reference from this https://github.com/jose-elias-alvarez/dotfiles where I learned a lot from his config. FYI, he's author to nvim-lsp-ts-util which I think you should have it set up as complement.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • [Help]About global function

    1 project | /r/neovim | 24 Mar 2023
  • Is there a way to change neovim way of displaying folds to be like VS Code do it?

    1 project | /r/neovim | 18 Mar 2023
  • Raycast introduces Raycast AI using ChatGPT

    1 project | /r/macapps | 23 Feb 2023
  • Updated wezterm <-> navigator.nvim support

    2 projects | /r/neovim | 10 May 2023
  • Treesitter text objects mapping not working or being overwritten

    1 project | /r/neovim | 24 Apr 2023