Compare commits
3 Commits
799e6c65b0
...
c5bd114ce7
Author | SHA1 | Date |
---|---|---|
Pavle Portic | c5bd114ce7 | |
Pavle Portic | d6807970b4 | |
Pavle Portic | 5e1e4f2c43 |
|
@ -41,6 +41,7 @@ WINDOW_ICONS: dict[str, str] = {
|
|||
'alacritty': nf.icons['fa_terminal'],
|
||||
'blender': nf.icons['fa_cube'],
|
||||
'blueman-manager': nf.icons['fa_bluetooth'],
|
||||
'brave-browser': nf.icons['fa_globe'],
|
||||
'calibre-gui': nf.icons['fa_book'],
|
||||
'chromium': nf.icons['fa_chrome'],
|
||||
'cities.x64': nf.icons['md_city'],
|
||||
|
|
|
@ -31,6 +31,7 @@ require("mappings")
|
|||
require("git")
|
||||
require("lsp")
|
||||
require("line")
|
||||
require("comment")
|
||||
|
||||
require("telescope").load_extension("projects")
|
||||
require("telescope").load_extension("fzf")
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
local ft = require("Comment.ft")
|
||||
|
||||
ft.set("resolv", "#%s")
|
|
@ -45,7 +45,9 @@ lsp_zero.format_on_save({
|
|||
servers = {
|
||||
["efm"] = { "javascript", "typescript", "lua" },
|
||||
["gopls"] = { "go" },
|
||||
-- ["stylua"] = {"lua"},
|
||||
["terraformls"] = { "terraform" },
|
||||
["yamlls"] = { "yaml" },
|
||||
["jsonls"] = { "json" },
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -53,7 +55,13 @@ lsp_zero.format_on_save({
|
|||
local lspconfig = require("lspconfig")
|
||||
-- go
|
||||
lspconfig.golangci_lint_ls.setup({})
|
||||
lspconfig.gopls.setup({})
|
||||
lspconfig.gopls.setup({
|
||||
settings = {
|
||||
gopls = {
|
||||
gofumpt = true,
|
||||
},
|
||||
},
|
||||
})
|
||||
-- lua
|
||||
lspconfig.lua_ls.setup(lsp_zero.nvim_lua_ls())
|
||||
-- protobuf
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[user]
|
||||
name = Pavle Portic
|
||||
name = TheEdgeOfRage
|
||||
email = git@theedgeofrage.com
|
||||
signingkey = 66AD4BA646FBC0D2
|
||||
[alias]
|
||||
|
|
Loading…
Reference in New Issue