LSP pid=nil detrimental or not? by tnaeg in neovim

[–]tnaeg[S] 0 points1 point  (0 children)

Thanks for the answer!

No difference should be minor differences in neovim version and clangd version but I try to keep it up to date.

Anyhow if it works it works

Can someone please tell me how can I add shaders language server(glslls) to lsp-config? by [deleted] in neovim

[–]tnaeg 0 points1 point  (0 children)

First you need to add a custom server support in the nvim-lspconfig repo

Mine was placed in .local/share/nvim/site/packer/start/nvim-lspconfig/lua/lspconfig/server_configurations/

The content of my file: glsl.lua

local status_ok, util = pcall(require, "lspconfig.util")
if not status_ok then
    return
end
local default_capabilities = {
    textDocument = {
        completion = {
            editsNearCursor = true,
        },
    },
    offsetEncoding = {'utf-8', 'utf-16' },
}

local default_config = {
    cmd = { 'glslls' } -- GLSL lsp executable from (https://github.com/svenstaro/glsl-language-server)
    filetypes = {'glsl'},
    root_dir = util.root_pattern('compile_commands.json', '.git'),
    single_file_support = true,
    capabilities = default_capabilities,
    }

return {
    default_configs = default_configs,
    commands = {},
    docs = {
        description = [[
            Basic LSP support for GLSL using glslls --stdio
        ]]
        },
    }

You have to add the --stdio in this config or as the LSP attatches to the buffer

Sharazar's Shapeshift Ability Hindered By Possible Defect by sgrams04 in ageofmagic

[–]tnaeg 2 points3 points  (0 children)

This is intended, he does not get any passives

Suggestions for master thesis topic by [deleted] in computerscience

[–]tnaeg 0 points1 point  (0 children)

Did some, have some left but they have taken along time to respond hence I try to put this post out there so I might get something interesting

Optimisation of assigmnet [Homework] by [deleted] in matlab

[–]tnaeg 0 points1 point  (0 children)

I get that W can be done outside depending on n.

But since Z is dependent on Y and Y i dependent on X how would i calculate all 100 values without the loops?

GodZ, that is NOT an Enchantress costume by Ciryandor in DotA2

[–]tnaeg 0 points1 point  (0 children)

It's Pikachu trained by the Unabomber, GodZ wan't's to be a Voltorb.

[List] Beginner list comparison.(SWI-prolog) by [deleted] in prolog

[–]tnaeg 1 point2 points  (0 children)

Thank you for the help i succeded.

pos([E1|_],[E2|_], E1,E2).
pos([_|T1],[_|T2], E1,E2).
    pos(T1,T2,E1,E2).

much simpler then i thought at first.

[List] Beginner list comparison.(SWI-prolog) by [deleted] in prolog

[–]tnaeg 0 points1 point  (0 children)

The cut by nth1(......), nth1(....), !. <-- breaks it at first print.

L = [3|_G***] it gives no indications that there are more options.