Skip to content

Instantly share code, notes, and snippets.

Avatar

Ben Jackson puremourning

  • England, UK
View GitHub Profile
View rebuild.sh
#!/usr/bin/env bash
# set up the proxy
proxy_port="TODO: Proxy Port"
proxy_host="TODO: Porxy host"
user="TODO: proxy user"
password="TODO: proxy password"
# ---
View rust_language_server_stderr8rq91_ek.log
This file has been truncated, but you can view the full file.
[2019-11-09T14:49:00Z DEBUG rls::server] Language Server starting up. Version: rls 1.38.0 (496c892 2019-08-12)
[2019-11-09T14:49:00Z TRACE rls::server::io] reading: 747 bytes
[2019-11-09T14:49:00Z TRACE rls::server] Read message `{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"completion":{"completionItem":{"documentationFormat":["plaintext","markdown"]},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"contentFormat":["plaintext","markdown"]},"signatureHelp":{"signatureInformation":{"documentationFormat":["plaintext","markdown"],"parameterInformation":{"labelOffsetSupport":false}}}},"workspace":{"applyEdit":true}},"initializationOptions":{},"processId":32413,"rootPath":"/Users/ben/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/tests/rust/testdata/common","rootUri":"file:///Users/ben/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/tests/rust/testdata/common"}}`
View test.md

Quick Start

## Running the tests

You have to be on MacOS or Linux. Sorry, Windows testing is not supported.

  • Ensure you have at least the Vim vresion in YCM_VIM_VERSION (in azure-pipelines.yml)
  • Ensure ycmd is compiled and clangd is enabled install.py --clangd-completer
@puremourning
puremourning / vimspector.log
Last active Aug 10, 2019
MIEngine NullArgument error
View vimspector.log
Reading from channel output...
2019-08-10 14:53:13,545 - INFO - **** INITIALISING NEW VIMSPECTOR SESSION ****
2019-08-10 14:53:13,545 - INFO - VIMSPECTOR_HOME = /Users/ben/.vim/bundle/vimspector
2019-08-10 14:53:13,553 - INFO - gadgetDir = /Users/ben/.vim/bundle/vimspector/gadgets/macos
2019-08-10 14:53:13,554 - INFO - User requested start debug session with {}
2019-08-10 14:53:13,556 - DEBUG - Starting debugger from stack context: [' File "<string>", line 1, in <module>\n', ' File "/Users/ben/.vim/bundle/vimspector/python3/vimspector/debug_session.py", line 312, in Continue\n self.Start()\n', ' File "/Users/ben/.vim/bundle/vimspector/python3/vimspector/debug_session.py", line 165, in Start\n self._StartWithConfiguration( configuration, adapter )\n', ' File "/Users/ben/.vim/bundle/vimspector/python3/vimspector/debug_session.py", line 213, in _StartWithConfiguration\n start()\n', ' File "/Users/ben/.vim/bundle/vimspector/python3/vimspector/debug_session.py", line 170, in start\n traceback.form
View go build output
_3/_regex.so
[100%] Built target _regex
go: golang.org/x/sync@v0.0.0-20190423024810-112230192c58: unrecognized import path "golang.org/x/sync" (https fetch: Get https://golang.org/x/sync?go-get=1: x509: certificate signed by unknown authority)
go: golang.org/x/net@v0.0.0-20190311183353-d8887717615a: unrecognized import path "golang.org/x/net" (https fetch: Get https://golang.org/x/net?go-get=1: x509: certificate signed by unknown authority)
go: error loading module requirements
npm WARN tern_runtime No repository field.
npm WARN tern_runtime No license field.
audited 37 packages in 0.571s
found 0 vulnerabilities
View config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ auto/configure --prefix=/mma/users/benj/proj/vim/root-6.5-py3 --enable-fail-if-missing --enable-gui=auto --with-features=huge --enable-fontset --enable-multibyte --enable-cscope --enable-xim --enable-python3interp=yes --enable-rubyinterp=dynamic --enable-terminal --enable-autoservername --srcdir=. --cache-file=auto/config.cache
## --------- ##
## Platform. ##
@puremourning
puremourning / # weechat - 2018-05-13_22-31-04.txt
Created May 13, 2018
weechat on macOS 10.13.4 - Homebrew build logs
View # weechat - 2018-05-13_22-31-04.txt
Homebrew build logs for weechat on macOS 10.13.4
Build date: 2018-05-13 22:31:04
View test.cc
// Example program
#include <iostream>
#include <string>
struct nocopy {
nocopy(int i_) : i(i_) {}
nocopy( const nocopy& ) = delete;
int i;
};
@puremourning
puremourning / ycmd-log-exception.log
Created Jan 3, 2018
jdt.ls exception loading grade project
View ycmd-log-exception.log
project being openend:
https://github.com/puremourning/ycmd-1/tree/java-language-server/ycmd/tests/java/testdata/simple_gradle_project
ycmd.handlers: INFO: Received event notification
ycmd.handlers: DEBUG: Event name: FileReadyToParse
ycmd.completers.all.identifier_completer: INFO: Adding buffer identifiers for file: C:\projects\ycmd\ycmd\tests\java\testdata\simple_maven_project\src\main\java\com\test\test.java
ycmd.completers.java.java_completer: INFO: Looking for jdt.ls
ycmd.completers.java.java_completer: DEBUG: Found launchers: ['C:\\projects\\ycmd\\third_party\\eclipse.jdt.ls\\org.eclipse.jdt.ls.product\\target\\repository\\plugins\\org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar']
ycmd.completers.java.java_completer: DEBUG: Found launchers: ['C:\\projects\\ycmd\\third_party\\eclipse.jdt.ls\\org.eclipse.jdt.ls.product\\target\\repository\\plugins\\org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar']
ycmd.completers.java.java_completer: INFO: Starting jdt.ls Language Server...
@puremourning
puremourning / rfc.md
Last active Feb 12, 2019
RFC: Parameter hints popup menu
View rfc.md

TL;DR

This RFC proposes introducing a second popup menu in insert mode to display method argument hints, current parameter, etc. similar to a number of IDEs and editors. The proposal is to allow scripts to control this (such as on insert of ( and ) characters) and for it to be non-interractive and not to interfere with insert-mode completion.

The purpose of the RFC is to guage the appetite from Bram and the community for such a feature, and to discuss the design/functional behaviours prior to

You can’t perform that action at this time.