Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dotfiles
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tim van Deurzen
dotfiles
Commits
2e937adf
Commit
2e937adf
authored
Oct 06, 2021
by
Tim van Deurzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates to deal with broken lsp-saga.
parent
ab0effe5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
14 deletions
+25
-14
neovim/lua/core/init.lua
neovim/lua/core/init.lua
+1
-0
neovim/lua/lsp/init.lua
neovim/lua/lsp/init.lua
+7
-0
neovim/lua/plugins/init.lua
neovim/lua/plugins/init.lua
+1
-0
neovim/lua/statusline/init.lua
neovim/lua/statusline/init.lua
+16
-14
No files found.
neovim/lua/core/init.lua
View file @
2e937adf
...
...
@@ -68,6 +68,7 @@ local function basic_configuration()
showbreak
=
"↳ "
;
pumblend
=
15
;
winblend
=
15
;
-- Sets the keymap in normal mode to QWERTY while actually on Colemak.
langmap
=
"rs,RS,gt,GT,fe,FE,pr,PR,jy,JY,lu,LU,ui,UI,yo,YO,sd,SD,dg,DG,nj,NJ,ek,EK,il,IL,kn,KN,o\\;,O:,\\;p"
;
langnoremap
=
true
;
}
...
...
neovim/lua/lsp/init.lua
View file @
2e937adf
...
...
@@ -7,8 +7,15 @@ lsp_config.gopls.setup{
capabilities
=
capabilities
,
settings
=
{
gopls
=
{
experimentalPostfixCompletions
=
true
,
analyses
=
{
fieldalignment
=
true
,
nilness
=
true
,
unusedwrite
=
true
,
unusedparams
=
true
,
shadow
=
true
,
unreachable
=
true
,
bools
=
true
,
},
staticcheck
=
true
,
},
...
...
neovim/lua/plugins/init.lua
View file @
2e937adf
...
...
@@ -24,6 +24,7 @@ return require('packer').startup(function()
requires
=
{
'junegunn/fzf'
}
}
-- Look at feline for a leaner better maintained alternative.
use
{
'glepnir/galaxyline.nvim'
,
...
...
neovim/lua/statusline/init.lua
View file @
2e937adf
...
...
@@ -42,20 +42,22 @@ gls.left = {
highlight
=
{
colors
.
black
,
colors
.
yellow
,
'bold'
},
}
},
{
GitIcon
=
{
provider
=
function
()
return
' '
end
,
condition
=
function
()
return
condition
.
check_git_workspace
()
and
condition
.
hide_in_width
()
end
,
highlight
=
{
colors
.
black
,
colors
.
bblack
}
}
},
{
GitBranch
=
{
provider
=
function
()
return
string.format
(
'%s '
,
vcs
.
get_git_branch
())
end
,
condition
=
function
()
return
condition
.
check_git_workspace
()
and
condition
.
hide_in_width
()
end
,
highlight
=
{
colors
.
black
,
colors
.
bblack
}
}
},
-- The commented code below breaks during any time there is no clear branch name (e.g.
-- during rebase).
-- {
-- GitIcon = {
-- provider = function() return ' ' end,
-- condition = function() return condition.check_git_workspace() and condition.hide_in_width() end,
-- highlight = {colors.black, colors.bblack}
-- }
-- },
-- {
-- GitBranch = {
-- provider = function() return string.format('%s ', vcs.get_git_branch()) end,
-- condition = function() return condition.check_git_workspace() and condition.hide_in_width() end,
-- highlight = {colors.black, colors.bblack}
-- }
-- },
{
DiffAdd
=
{
provider
=
vcs
.
diff_add
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment