mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-09-11 12:49:18 +03:00
Merge pull request #966 from 347Online/master
Add inline prediction option mirroring the capitalization option
This commit is contained in:
commit
72bbc11aed
@ -10,6 +10,7 @@
|
||||
system.defaults.NSGlobalDomain.InitialKeyRepeat = 10;
|
||||
system.defaults.NSGlobalDomain.KeyRepeat = 1;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticInlinePredictionEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticDashSubstitutionEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticPeriodSubstitutionEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticQuoteSubstitutionEnabled = false;
|
||||
|
@ -7,7 +7,6 @@ let
|
||||
inherit (config.lib.defaults.types) floatWithDeprecationError;
|
||||
in {
|
||||
options = {
|
||||
|
||||
system.defaults.NSGlobalDomain.AppleShowAllFiles = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
@ -104,6 +103,14 @@ in {
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSAutomaticInlinePredictionEnabled = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to enable inline predictive text. The default is true.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSAutomaticDashSubstitutionEnabled = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
|
@ -73,6 +73,11 @@ defaults write -g 'NSAutomaticDashSubstitutionEnabled' $'<?xml version="1.0" enc
|
||||
<plist version="1.0">
|
||||
<false/>
|
||||
</plist>'
|
||||
defaults write -g 'NSAutomaticInlinePredictionEnabled' $'<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<false/>
|
||||
</plist>'
|
||||
defaults write -g 'NSAutomaticPeriodSubstitutionEnabled' $'<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
|
@ -12,6 +12,7 @@
|
||||
system.defaults.NSGlobalDomain.AppleShowScrollBars = "Always";
|
||||
system.defaults.NSGlobalDomain.AppleScrollerPagingBehavior = true;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticInlinePredictionEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticDashSubstitutionEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticPeriodSubstitutionEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticQuoteSubstitutionEnabled = false;
|
||||
|
Loading…
Reference in New Issue
Block a user