mirror of https://github.com/wlcx/home.git
Compare commits
No commits in common. "96396f67a751deaa10fc9652b1ca68b519f3d255" and "74b11aead415d68ca6e7143ef2111adafce5d705" have entirely different histories.
96396f67a7
...
74b11aead4
|
@ -57,10 +57,6 @@
|
|||
system = "aarch64-darwin";
|
||||
profiles = with profiles; [default dev dev-gui sensitive mac];
|
||||
};
|
||||
luroy = lib.mkHome {
|
||||
system = "x86_64-linux";
|
||||
profiles = with profiles; [default dev];
|
||||
};
|
||||
};
|
||||
}
|
||||
# Per-system things
|
||||
|
|
|
@ -12,17 +12,9 @@ end
|
|||
-- Completion
|
||||
local cmp = require'cmp'
|
||||
cmp.setup({
|
||||
-- Disable completions if we're in a comment
|
||||
enabled = function()
|
||||
if require"cmp.config.context".in_treesitter_capture("comment")==true or require"cmp.config.context".in_syntax_group("Comment") then
|
||||
return false
|
||||
else
|
||||
return true
|
||||
end
|
||||
end,
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
-- completion = cmp.config.window.bordered(),
|
||||
-- documentation = cmp.config.window.bordered(),
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
['<C-Space>'] = cmp.mapping.complete(),
|
||||
|
|
Loading…
Reference in New Issue