Description
I have a go project where I am trying to replicate my workflow from vscode. The project has .devcontainer folder in the project root.
I have all my go tooling being installed in the Dockerfile that is referenced in my devcontainer.json file.
I am trying to configure my local nvim in a way that when I open *.go file locally and the devcontainer cli will start the container and I will have lsp integration.
I am using nvim nightly with the nvim.lsp-config plugin installed. here is my lspconfig.lua file config
Expected Behavior
When I open a go file in my project the plugin will call devcontainer cli to start the devcontainer with lsp support.
Actual Behavior
When I open a project file nothing seems to happen.
I have seen the devcontainer get created when I open a lua file in my project folder, however I think this works because my locak neovim configuration has the lua language server installed locally.
I am not sure what I am missing with my setup
Description
I have a go project where I am trying to replicate my workflow from vscode. The project has .devcontainer folder in the project root.
I have all my go tooling being installed in the Dockerfile that is referenced in my devcontainer.json file.
I am trying to configure my local nvim in a way that when I open *.go file locally and the devcontainer cli will start the container and I will have lsp integration.
I am using nvim nightly with the nvim.lsp-config plugin installed. here is my lspconfig.lua file config
Expected Behavior
When I open a go file in my project the plugin will call devcontainer cli to start the devcontainer with lsp support.
Actual Behavior
When I open a project file nothing seems to happen.
I have seen the devcontainer get created when I open a lua file in my project folder, however I think this works because my locak neovim configuration has the lua language server installed locally.
I am not sure what I am missing with my setup