Giter Club home page Giter Club logo

coc-floatinput's People

Contributors

black-desk avatar dependabot[bot] avatar weirongxu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

vim-geek

coc-floatinput's Issues

The path to the extension's directory is wrong

When I install coc-floatinput, I get the following message on startup.

[coc.nvim] Unable to load global extension at /home/xxx/.config/coc/extensions/coc-floatinput: package.json not found

/home/xxx/.config/coc/extensions/node_modules/coc-floatinput is the correct path.

This is the minimal vimrc.

syntax enable
filetype plugin indent on

if has('vim_starting')
	let s:pluin_manager_dir='~/.vim/plugged/vim-plug'
	execute 'set runtimepath+=' . s:pluin_manager_dir
endif

call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
let g:coc_global_extensions = [ 'coc-floatinput' ]
call plug#end()

vim: Neovim v0.5.0-695-gf34eeba2d
OS: ArchLinux
coc-floatinput version: 6c2e05e
coc.nvim: https://github.com/neoclide/coc.nvim/tree/825f7f5b89fb1708f18711798ef7a2ba6aa1bde5

Implement the similar function of coc-floatinput-rename directly in coc

augroup CocNvimCustom
  autocmd!

  " float prompt
  function! s:prompt_start()
    iunmap <silent><nowait><buffer> <esc>
    nmap <nowait><buffer> <cr> A<cr>
    " set buftype=
    " augroup CocNvimCustomPrompt
    "   autocmd!
    "   autocmd WinLeave <buffer> set buftype=nofile
    " augroup end
  endfunction

  autocmd User CocOpenFloatPrompt call s:prompt_start()
augroup end

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.