Comments (11)
Oh I see! By looking at hx --health
, I wrongly assumed they were the same but looks like golangci-lint-langserver depends on golangci-lint so both needs to be installed for this to work.
Sorry for my mystake. Feel free to close the issue.
from helix.
And
--health
is reporting that it can find everything?
It's all right, it's working. I deleted it and then installed it from the Fedora repository. Thank you...
from helix.
On a fresh helix installation, after installing golangci-lint-langserver with
go install github.com/nametake/golangci-lint-langserver@latest
Are you sure that go install
installs the program to a path where it's inside $PATH
?
I'm not a go-developer but a quick google search says that GOBIN per default is set to ~/go
which isn't part of $PATH
per default, hence helix
isn't able to find the program as well.
from helix.
It's in my PATH
, same as gopls
but the executable name is golangci-lint-langserver
:
![image](https://private-user-images.githubusercontent.com/939842/333201830-e0699c91-6a98-4eda-bedd-2752bcffcaa8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4MDMxOTksIm5iZiI6MTcxOTgwMjg5OSwicGF0aCI6Ii85Mzk4NDIvMzMzMjAxODMwLWUwNjk5YzkxLTZhOTgtNGVkYS1iZWRkLTI3NTJiY2ZmY2FhOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwMVQwMzAxMzlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lNjJiYzdmNjA1NDU1ODliZjBiM2NlZmM1ODgxM2Y3ZDYwNmI1ZjU4NmE3Zjg1OTkwMGM0ZTgzYjFmNWYxZDIwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.oaJdBN4TQO2lrQSEthVAW6bVhwC-SXw95E8_tTJIuFY)
I can confirm I can call golangci-lint-langserver
without issue from my terminal but golangci-lint
does not exist obviously.
from helix.
Hm... I see, it looks like that the default commands are somehow different (https://github.com/helix-editor/helix/blob/master/languages.toml#L139-L143) but I don't know why. Maybe someone else knows more than me or this should be fixed. @kirawi may I ask for your opinion here? Should we just update the command entry of language-server.golangci-lint-lsp.config
?
from helix.
It was added in #8656 , perhaps the author @angaz can comment?
from helix.
Did you install golangci-lint
?
from helix.
Oh I see! By looking at
hx --health
, I wrongly assumed they were the same but looks like golangci-lint-langserver depends on golangci-lint so both needs to be installed for this to work.Sorry for my mystake. Feel free to close the issue.
Can you give me your languages.toml?
from helix.
Oh I see! By looking at
hx --health
, I wrongly assumed they were the same but looks like golangci-lint-langserver depends on golangci-lint so both needs to be installed for this to work.Sorry for my mystake. Feel free to close the issue.
Can you give me your languages.toml?
It would be the default one. What problem are you trying to solve? Maybe you need to update to the latest version of Helix.
from helix.
Oh I see! By looking at
hx --health
, I wrongly assumed they were the same but looks like golangci-lint-langserver depends on golangci-lint so both needs to be installed for this to work.
Sorry for my mystake. Feel free to close the issue.Can you give me your languages.toml?
It would be the default one. What problem are you trying to solve? Maybe you need to update to the latest version of Helix.
I would like golangci-lint to output messages in the editor according to the settings in golanci.yml, but this does not happen. I have the latest version of Helix.
golangci-lint and golangci-lint-langserver are installed. everything is fine with $PATH
from helix.
And --health
is reporting that it can find everything?
from helix.
Related Issues (20)
- Swap the "<space>f" and <space>F" bindings HOT 1
- The `move` command should request conformation before overriding
- Add option to disable sorting for file picker
- (config help) Swap the "<space>f" and <space>F" bindings HOT 3
- Using :w as shortcut in insert mode leaves buffer with unsaved marker
- Using `diff` in gutters twice makes Helix get stuck
- swapping the space (f and F) keys, provide unexpected behavior.
- Formatting issues from tutor
- Helix is slow in SSHFS HOT 2
- Show current workspace with working directory in status line
- Syntax Highlighting for Rust Macros
- Unintuitive line movements with relative line numbers
- Remap scrolls HOT 1
- Combine status line with command line HOT 1
- Dynamically determine config value HOT 1
- Enable OSC52 automatically if connected via SSH
- Race condition when typing before symbol picker opens HOT 1
- Separate `:rename` command that moves within the current directory
- Allow remapping of dot HOT 1
- commands with international keyboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helix.