Code Monkey home page Code Monkey logo

Comments (10)

Julian avatar Julian commented on September 26, 2024

Can you elaborate on what you mean? This plugin does have support for entering unicode abbreviations already. What functionality are you missing?

from lean.nvim.

chakravala avatar chakravala commented on September 26, 2024

The README has not made it clear to me how to activate these abbreviations. In the Julia vim plugin, I can simply type \times and then press the TAB key to have it replaced with unicode. This is the most natural way in my opinion, I don't know how to do it with this plugin based on the half sentence of information in the readme.

from lean.nvim.

Julian avatar Julian commented on September 26, 2024

It works exactly the same way. Feel free to come ask on the Lean Zulip if you're having setup issues.

from lean.nvim.

chakravala avatar chakravala commented on September 26, 2024

Does this require some kind of LSP to be enabled? I prefer not to use any sluggish LSP, the Julia VIM plugin does not depend on any LSP for Unicode. Why not just explain how to use it here?

from lean.nvim.

Julian avatar Julian commented on September 26, 2024

It does not, though Lean (the language) certainly assumes you are using it through an LSP.

Why not just explain how to use it here?

Please be less presumptuous? Have you tried using this plugin already or simply assuming? I have other things to do than walk you through it, though if you were a bit less rude it certainly wouldn't hurt.

from lean.nvim.

chakravala avatar chakravala commented on September 26, 2024

It does not, though Lean (the language) certainly assumes you are using it through an LSP.

It seems that it's possible to use lean by using lean --run in terminal, so an LSP in the editor is not required to be assumed.

Have you tried using this plugin already or simply assuming?

Yes, I have tried using this plugin and I don't understand how I can insert unicode from this instruction:

Abbreviation (unicode character) insertion (in insert mode & the command window accessible via q/)

So when I am in insert mode and have the phrase \times, how can that be transformed to Unicode?

Please be less presumptuous?

My only presumption is that I am not able to accomplish the unicode insertion

I have other things to do than walk you through it, though if you were a bit less rude it certainly wouldn't hurt.

I'm not sure what you think is rude here, I'm trying out lean.nvim and am not successful at the unicode insertion.

from lean.nvim.

Julian avatar Julian commented on September 26, 2024

It seems that it's possible to use lean by using lean --run in terminal, so an LSP in the editor is not required to be assumed.

Every user of the language uses it through an editor with an LSP, the vast majority of whom (95% plus) doing so via VSCode. No one uses Lean through lean --run.

So when I am in insert mode and have the phrase \times, how can that be transformed to Unicode?

Hit tab or space, after having enabled the plugin.

from lean.nvim.

chakravala avatar chakravala commented on September 26, 2024

Then I don't quite understand how to enable this plugin. I am using vim pathogen, and have cloned the repository into ~/.vim/bundle/lean.nvim.

Syntax highlighting for lean seems to be enabled, so I am not sure what I'm missing to enable here.

from lean.nvim.

Julian avatar Julian commented on September 26, 2024

Are you using vim? This is a neovim plugin.

from lean.nvim.

chakravala avatar chakravala commented on September 26, 2024

Yes, I am using vim, I was hoping this would be backwards compatible. The Julia Vim plugin is an example where they have unicode tab completion, so I was hoping it would inspire someone to do something similar for lean with vim.

from lean.nvim.

Related Issues (20)

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.