nimlsp
coc-ccls
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nimlsp
-
NIR: Nim Intermediate Representation
Downloading https://github.com/PMunch/nimlsp using git
-
Problems installing nimlsp with Mason
Cloning into '.'... From https://github.com/pmunch/nimlsp * tag v0.4.4 -> FETCH_HEAD + nimble build -y --localdeps Warning: Using project local deps mode Verifying dependencies for [email protected] Prompt: No local packages.json found, download it from internet? -> [forced yes] Downloading Official package list Success Package list downloaded. Installing jsonschema@>= 0.2.1 Downloading https://github.com/PMunch/jsonschema using git Verifying dependencies for [email protected] Installing ast_pattern_matching@any version Downloading https://github.com/nim-lang/ast-pattern-matching using git Verifying dependencies for [email protected] Installing [email protected] Success: ast_pattern_matching installed successfully. Installing [email protected] Success: jsonschema installed successfully. Installing asynctools@>= 0.1.1 Downloading https://github.com/cheatfate/asynctools using git Verifying dependencies for [email protected] Installing [email protected] Success: asynctools installed successfully. Building nimlsp/nimlsp_debug using c backend [1m/home/terrior/.local/share/nvim/mason/.packages/nimlsp/src/nimlsppkg/suggestlib.nim(3, 18) [0m[31mError: [0mcannot open file: nimsuggest/nimsuggest[36m[0m[0m Tip: 30 messages have been suppressed, use --verbose to show them. Error: Build failed for package: nimlsp ... Execution failed with exit code 1 ... Command: /usr/bin/nim c --colors:on --noNimblePath -d:NimblePkgVersion=0.4.4 --path:/home/terrior/.local/share/nvim/mason/.packages/nimlsp/nimbledeps/pkgs/ast_pattern_matching-1.0.0 --path:/home/terrior/.local/share/nvim/mason/.packages/nimlsp/nimbledeps/pkgs/jsonschema-0.2.1 --path:/home/terrior/.local/share/nvim/mason/.packages/nimlsp/nimbledeps/pkgs/asynctools-0.1.1 --hints:off -o:/home/terrior/.local/share/nvim/mason/.packages/nimlsp/nimlsp_debug /home/terrior/.local/share/nvim/mason/.packages/nimlsp/src/nimlsp_debug.nim spawn: bash failed with exit code 1 and signal 0.
-
Nimlangserver Announcement
nimlangserver is an implementation of Language Server Protocol with the goal to make nim IDE experience more mature. The main difference between nimlangserver and the existing nimlsp is that nimlangserver runs nimsuggest in a separate process and that nimlangserver is using a newly introduced version of nimsuggest v3(see bellow). nimlangserver is currently integrated in VScode via vscode-nim and in Emacs via lsp-mode but adding integraion with other editors should be trivial.
-
nimble install nimlsp ending up with errors
Downloading https://github.com/PMunch/nimlsp using gitTVerifying dependencies for [email protected]: Dependency on jsonschema@>= 0.2.1 already satisfiedVerifying dependencies for [email protected]: Dependency on ast_pattern_matching@any version already satisfiedVerifying dependencies for [email protected]: Dependency on asynctools@any version already satisfiedVerifying dependencies for [email protected] [email protected] nimlsp/nimlsp using c backend/tmp/nimble_153465/githubcom_PMunchnimlsp/src/nimlsppkg/baseprotocol.nim(2, 8) Warning: imported and not used: 'logger' [UnusedImport]/tmp/nimble_153465/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(11, 8) template/generic instantiation of `mImport` from here/tmp/nimble_153465/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(7, 14) Error: cannot open file: /usr/nimsuggest/nimsuggest.nimPrompt: Build failed for '[email protected]', would you like to try installing 'nimlsp@#head' (latest unstable)? [y/N]Answer: NTip: 10 messages have been suppressed, use --verbose to show them.Error: Aborting installation due to build failureimlsp using gitT Verifying dependencies for [email protected] Info: Dependency on jsonschema@>= 0.2.1 already satisfied Verifying dependencies for [email protected] Info: Dependency on ast_pattern_matching@any version already satisfied Verifying dependencies for [email protected] Info: Dependency on asynctools@any version already satisfied Verifying dependencies for [email protected] Installing [email protected] Building nimlsp/nimlsp using c backend /tmp/nimble_153465/githubcom_PMunchnimlsp/src/nimlsppkg/baseprotocol.nim(2, 8) Warning: imported and not used: 'logger' [UnusedImport] /tmp/nimble_153465/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(11, 8) template/generic instantiation of `mImport` from here /tmp/nimble_153465/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(7, 14) Error: cannot open file: /usr/nimsuggest/nimsuggest.nim Prompt: Build failed for '[email protected]', would you like to try installing 'nimlsp@#head' (latest unstable)? [y/N] Answer: N Tip: 10 messages have been suppressed, use --verbose to show them. Error: Aborting installation due to build failure
- Nim 1.6.2
- Nim receives $100k in Bitcoin donations
coc-ccls
-
Using CoC inlay hints
I just did a fresh reinstall of CoC, on a newer version of Neovim. I'm now seeing something I hadn't seen before, which CoC calls "inlay hints". They look like this:
-
NIR: Nim Intermediate Representation
As recommended by michaelsbradley below, I installed https://github.com/nim-lang/langserver. I'm using coc.nvim (https://github.com/neoclide/coc.nvim) so I followed the instructions here from nim langserver https://github.com/nim-lang/langserver#vimneovim and seems to be working well!
-
Perl::LanguageServer in Visual Studio. Should jumping to ambigious functions work?
Actually, I'm maintaining coc-perl (https://github.com/bmeneg/coc-perl), which enables the use of Perl LSP extension for vcode on vim/neovim using the CoC (https://github.com/neoclide/coc.nvim) backend. But it's completely on top of Perl::LanguageServer.
-
How to configure vim like an IDE
For vim specifically, I've been using coc.nvim, which works pretty well for my needs, and I know its quite popular. Another fairly popular one is YouCompleteMe, which I had taken a look at for some other languages; but ended up just using coc as I can't justify using YCM once a year (if that) -- too much "headache" for not a lot of use, you know?
-
Auto-completion problems for terraform
Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion
-
I like Tabasco.
I do think VSCode is a great tool and I recommend it frequently to people, but I still want to set the record straight here. Yes, vim is obviously limited in the sense that as a CLI app it doesn't draw it's own PDF or HTML windows, that's fair. But it can remote control your favorite PDF viewer or browser for roughly the same functionality. I'm currently writing my thesis using vimtex and it's quite smooth. And all the other stuff you mention is implemented quite competently by various plugins like vim-fugitive, coc.nvim, vimspector and copilot.vim.
-
plugins for explorable interface and identifier highlighting
Sounds like you want vim-which-key and coc.nvim.
-
How to setup auto completion, etc. using LSP and stuff without bloating everything with a plugin manager?
Another option is to just download https://github.com/neoclide/coc.nvim Which is basically a one stop shop for completion, and it's pretty fast, it just uses nodejs instead of built in nvim lua functions.
-
How to survive without multiple cursors in vim
coc.nvim
-
How I set up Vim for writing LaTex, Python, C and C++?
dont over copy and paste example .vimrc, keep it simple and grow tooling as you use. for linting and code completion : https://github.com/neoclide/coc.nvim (easy to add languages)
What are some alternatives?
langserver - The Nim language server implementation (based on nimsuggest)
tree-sitter - An incremental parsing system for programming tools
nim-playground-frontend - The front-end for https://play.nim-lang.org
nvim-cmp - A completion plugin for neovim coded in Lua.
spintax - A Python module for parsing spintax, unlike any other module this works with nested spintax and also allows the user to escape the special characters used in its syntax.
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
nimble - Package manager for the Nim programming language.
awesome-vscode - 🎨 A curated list of delightful VS Code packages and resources.
boomer - Zoomer application for Linux
coc-diagnostic - diagnostic-languageserver extension for coc.nvim
Fusion - 🧰 A modern alternative to the Microsoft Assembly Binding Log Viewer (FUSLOGVW.exe)
nerdtree - A tree explorer plugin for vim.